![](/img/trans.png)
[英]rails service management in development? ( foreman does not start all services )
[英]foreman start failed on development rails
我遵循了webpack-rails gem文檔步驟將webpacker安裝在我的rails應用程序上。
一旦我運行了bundle exec rails generate webpack_rails:install
所有文件都會生成,並且foreman
將添加到gem文件中。 然后我又做了bundle install
。 之后,我做了
foreman start
如文檔中所述。
然后我得到了這個錯誤。
18:54:56 rails.1 | started with pid 19096
18:54:56 webpack.1 | started with pid 19097
18:54:56 webpack.1 | /home/desmond/.rvm/gems/ruby-2.3.4/gems/foreman-0.64.0/bin/foreman-runner: 41: exec: ./node_modules/.bin/webpack-dev-server: not found
18:54:56 webpack.1 | exited with code 127
18:54:56 system | sending SIGTERM to all processes
18:54:56 rails.1 | terminated by SIGTERM
我在這里看到了類似的問題,但沒有答案。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.