Ruby on rails Webpacker can';在manifest.json中找不到应用程序

Ruby on rails Webpacker can';在manifest.json中找不到应用程序,ruby-on-rails,node.js,ruby,webpack,yarnpkg,Ruby On Rails,Node.js,Ruby,Webpack,Yarnpkg,我的应用程序在我的工作站上运行良好,但我不知道为什么它不能在我的笔记本电脑上运行。这是我进入localhost:3000时得到的结果 Webpacker::Manifest::MissingEntryError at / Webpacker can't find application in /home/max/app_project/public/packs/manifest.json. Possible causes: 1. You want to set webpacker

我的应用程序在我的工作站上运行良好,但我不知道为什么它不能在我的笔记本电脑上运行。这是我进入localhost:3000时得到的结果

Webpacker::Manifest::MissingEntryError at /
    Webpacker can't find application in /home/max/app_project/public/packs/manifest.json. Possible causes:
    1. You want to set webpacker.yml value of compile to true for your environment
       unless you are using the `webpack -w` or the webpack-dev-server.
    2. webpack has not yet re-run to reflect updates.
    3. You have misconfigured Webpacker's config/webpacker.yml file.
    4. Your webpack configuration is not creating a manifest.
    Your manifest contains:
    {
    }
我运行了$THEAN命令,得到了以下结果:

yarn install v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
error @rails/webpacker@4.2.2: The engine "node" is incompatible with this module. Expected version ">=8.16.0". Got "8.10.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
好的,我修正了这个错误。 我更新了我的节点并运行$warn命令。 错误消失了


谢谢大家

您可以尝试更新节点本身。另外,我觉得这不属于SO,而是属于服务器故障(我会投票赞成移动这个问题)。