简体   繁体   English

如何修复错误 Bootsnap::LoadPathCache::FallbackScan: 当我运行 rails new app

[英]How can i fix the error Bootsnap::LoadPathCache::FallbackScan: when i run rails new app

enter image description here在此处输入图像描述

i'm just triying to do a new rails app with 'rails new app', that its, install all good, but when it going to install rails webpacker:install this happened.我只是想用'rails new app'做一个新的rails应用程序,它安装得很好,但是当它要安装rails webpacker时:安装发生了这种情况。

enter image description here在此处输入图像描述

and show the next error "Caused by: Bootsnap::LoadPathCache::FallbackScan: "并显示下一个错误“引起:Bootsnap::LoadPathCache::FallbackScan:”

Some one has the same issue and how you fix it??有人有同样的问题,你如何解决它? thank you.谢谢你。

can you please try with these steps:请您尝试以下步骤:

Please remove require 'bootsnap/setup' from config/boot.rb and bootsnap from Gemfile.请从config/boot.rb中删除require 'bootsnap/setup'并从bootsnap中删除 bootsnap。

And try run it again.并尝试再次运行它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM