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

mac os error #20

Closed
hktalent opened this issue Oct 14, 2016 · 3 comments
Closed

mac os error #20

hktalent opened this issue Oct 14, 2016 · 3 comments

Comments

@hktalent
Copy link

Error: Cannot find module 'winston'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Function._load (/usr/local/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)

$ npm install -g winston

is ok

@hktalent
Copy link
Author

没有错误消息
$ pm2 status
┌──────────────┬────┬──────┬───────┬────────┬─────────┬────────┬─────┬───────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │
├──────────────┼────┼──────┼───────┼────────┼─────────┼────────┼─────┼───────────┼──────────┤
│ female[1] │ 3 │ fork │ 99040 │ online │ 231 │ 1s │ 62% │ 48.5 MB │ disabled │
│ male[1] │ 2 │ fork │ 99041 │ online │ 245 │ 0s │ 58% │ 41.4 MB │ disabled │
│ worker[3000] │ 0 │ fork │ 99022 │ online │ 258 │ 1s │ 60% │ 51.0 MB │ disabled │
│ worker[3001] │ 1 │ fork │ 99005 │ online │ 249 │ 1s │ 58% │ 60.5 MB │ disabled │
└──────────────┴────┴──────┴───────┴────────┴─────────┴────────┴─────┴───────────┴──────────┘
但是不停的restart
没有数据

@keenwon
Copy link
Owner

keenwon commented Oct 14, 2016

不是npm install -g winston,是在antcolony的package.json所在的目录执行npm install winston

@lock
Copy link

lock bot commented Dec 28, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants