无法将react_on_rails集成到现有的rails应用程序中

时间:2018-01-11 15:50:09

标签: ruby-on-rails reactjs react-on-rails

我已经将shakacode文档发送到了T,但是在将react_on_rails集成到我现有的应用中时遇到了问题。我跑的时候

$ foreman start -f Procfile.dev

我在控制台中得到这个

10:28:24 web.1    | started with pid 36003

10:28:24 client.1 | started with pid 36004

10:28:26 client.1 | ReactOnRails: Set generated_assets_dir to default: public/webpack/development
10:28:26 web.1    | => Booting Puma

10:28:26 web.1    | => Rails 5.1.4 application starting in development 

10:28:26 web.1    | => Run `rails server -h` for more startup options

10:28:26 web.1    | ReactOnRails: Set generated_assets_dir to default: public/webpack/development

10:28:27 client.1 | yarn check v1.1.0

10:28:27 web.1    | yarn check v1.1.0

10:28:27 client.1 | success Folder in sync.

10:28:27 client.1 | Done in 0.21s.

10:28:27 web.1    | success Folder in sync.

10:28:27 web.1    | Done in 0.21s.

10:28:28 client.1 | Unknown switches '-w'

10:28:28 client.1 | exited with code 15

10:28:28 system   | sending SIGTERM to all processes

10:28:28 web.1    | Exiting

10:28:28 web.1    | terminated by SIG

我还很新,所以我无法解读究竟是什么问题 - 任何帮助都会非常感激。

0 个答案:

没有答案