Webpacker can't find pay_type.js in /home/studio/indah/depot/public/packs/manifest.json. Possible causes:
webpack -w or the webpack-dev-server.I got this error after adding webpacker to Rails 5.2 project and running rails webpacker:install and rails webpacker:install:vue. None of the commands generated a package.json file (and subsequently did not download packages, so I had no node_modules directory).
I ended up running rails new myapp --webpack=vue in /tmp, so I could copy out package.json (which was generated).
After copying out the package.json, I ran bin/yarn install to download the packages and then everything worked.
Just in case someone runs into something similar.
oke thanks!
I followed the readme exactly, as did @boatrite, and I also didn't have package.json generated, which caused the Webpacker::Manifest::MissingEntryError. Took me a while to figure this one out since the error message is Webpacker can't find application.js in /Users/user/dev/project/public/packs/manifest.json, which is misleading, since the file application.js exists in the correct folder (it was generated after webpacker:install) (Rails 5.0.2)
bin/yarn install worked for me
rails webpacker:install:vue woked for me. Thanks
rails webpacker:install worked for me!
yarn install worked for me as well
Most helpful comment
I got this error after adding webpacker to Rails 5.2 project and running
rails webpacker:installandrails webpacker:install:vue. None of the commands generated a package.json file (and subsequently did not download packages, so I had no node_modules directory).I ended up running
rails new myapp --webpack=vuein /tmp, so I could copy out package.json (which was generated).After copying out the package.json, I ran
bin/yarn installto download the packages and then everything worked.Just in case someone runs into something similar.