Рубрики
Ruby on Rails

Webpacker can’t find application in …./public/packs/manifest.json.

rm -rf node_modules
rails assets:clobber
yarn
rails assets:precompileCode language: CSS (css)

Webpacker can’t find application in …./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: { }

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *