Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm2 start process.json报错 #90

Closed
xigua1994 opened this issue Sep 3, 2019 · 1 comment
Closed

pm2 start process.json报错 #90

xigua1994 opened this issue Sep 3, 2019 · 1 comment

Comments

@xigua1994
Copy link

[PM2][WARN] Applications fabu not running, starting...
[PM2][ERROR] Interpreter babel-node does not seem to be available

@xigua1994
Copy link
Author

xigua1994 commented Sep 3, 2019

已经解决了,解决方案如下:

在server根目录新增app.js,添加如下内容:

require('babel-register'); require('babel-polyfill'); require('./index.js');
然后再执行pm2 start app.js即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant