-
Notifications
You must be signed in to change notification settings - Fork 15
Common Errors & Solutions
Markie Arnold edited this page Sep 4, 2019
·
17 revisions
# Error displayed in browser
Description:
Webpacker::Manifest::MissingEntryError at /kits/button
Webpacker can't find main in /home/app/src/lib/../public/packs/manifest.json.
This error is most often seen if you try to load http://localhost:8080 in the browser before webpacker has finished compiling assets.
Make sure to wait for your terminal to display Compiled Successfully
as the last line before loading in browser window.
If you did wait for terminal to display Compiled Successfully
, but still see the error in your browser...
Open terminal, and scroll up. Do you see a lot of SCSS errors referring to node-sass
requiring a rebuild or Node Sass could not find a binding?
# In terminal run the following commands
$ make shell
$ yarn add --force node-sass
$ exit
$ make start
# Error displayed in terminal
$ webpacker_1 | Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 8.x
$ webpacker_1 |
$ webpacker_1 | Found bindings for the following environments:
$ webpacker_1 | - OS X 64-bit with Node.js 8.x
$ webpacker_1 |
$ webpacker_1 | This usually happens because your environment has changed since running `npm install`.
$ webpacker_1 | Run `npm rebuild node-sass` to download the binding for your current environment.
# In terminal run the following commands
$ docker-compose run web yarn add --force node-sass
# In terminal run the following commands
$ make shell
$ rm /home/app/src/spec/dummy/tmp/pids/server.pid
$ exit
$ make start
# Error displayed in terminal
$ webpacker_1 | can't find clean-webpack-plugin
# Error displayed in terminal
$ webpacker_1 | can't find webpack-dev-server
# In terminal run the following commands
$ docker-compose run web yarn
# Error displayed in terminal
ERROR: Service 'web' failed to build: Error processing (...): no space left on device
# In terminal run the following commands
$ docker system prune
WARNING! This will remove:
- all stopped containers
- all networks not used by at least one container
- all dangling images
- all dangling build cache
Are you sure you want to continue? [y/N]
Type "y" and enter