-
-
Notifications
You must be signed in to change notification settings - Fork 316
Foreman won't start #98
Comments
It looks like |
Try setting the file as executable Something may have removed the executable bit, because I definitely know it's set by default since I've never run into that before. |
foreman start throwing webpack error on fresh install module.js:549 Error: Cannot find module 'webpack' bin/webpack-dev-server gives same result tried @excid3 suggestions and a lot of others including but not limited to upgrading yarn, rails install webpacker and removing node modules and npm install yikes |
@weefunker Sounds like a separate issue, not related to this one. You should try running |
You should ensure that you have |
Sorry for the long absence, I got busy with some pressing things. I recently returned to this issue and I may have found a solution that works - at least for now. I realized that I couldn't the line .bin/webpack-dev-server to run on Windows, and I tried a new tack by editing that line in Procfile.dev like so ruby bin/webpack-dev-server instead. Et voila! It works like a charm. |
Awesome. Hope this helps anyone else that runs into trouble with it. |
After what I think is a successful install (generation?), I am unable to get "Foreman start" working. The rails server command works, though. The Procfile has these two lines:
web: rails server
worker: sidekiq
The Procfile.dev has the following:
web: bundle exec rails server
worker: bundle exec sidekiq
webpack: bundle exec bin/webpack-dev-server
Can anyone please shed some light on this? Here's the error message:
05:02:39 web.1 | started with pid 228
05:02:39 worker.1 | started with pid 6304
05:02:39 webpack.1 | started with pid 6148
05:02:41 webpack.1 | bundler: not executable: bin/webpack-dev-server
05:02:41 webpack.1 | exited with code 126
05:02:41 system | sending SIGKILL to all processes
05:02:41 system | sending SIGKILL to web.1 at pid 228
05:02:41 system | sending SIGKILL to worker.1 at pid 6304
05:02:41 web.1 | exited with code 0
05:02:42 worker.1 | exited with code 0
The text was updated successfully, but these errors were encountered: