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

module restart again and again, and is finally shown as "errored" by pm2 #18

Open
VincentDauliac opened this issue Nov 15, 2016 · 2 comments

Comments

@VincentDauliac
Copy link

I run node v7.1.0 & npm v3.10.9 on a Debian Jessie server.

in the module error log file there's this error showing up at each module restart :

TypeError: Cannot read property 'prototype' of undefined
at Object. (/home/sel/.pm2/node_modules/socket.io/lib/store.js:35:41)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Function._load (/home/sel/.npm-global/lib/node_modules/pm2/node_modules/pmx/lib/transaction.js:62:21)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at Object. (/home/sel/.pm2/node_modules/socket.io/lib/manager.js:16:13)

@VincentDauliac VincentDauliac changed the title module restart again and again, ad is finally shown as "errored" by pm2 module restart again and again, and is finally shown as "errored" by pm2 Nov 15, 2016
@DrJume
Copy link

DrJume commented Dec 18, 2016

Are you using Node v7 ?
I think its because of that 💡 !

Just tried it with v7 and its not working anymore

@dcyou
Copy link

dcyou commented Jun 21, 2017

same as you with Node v8.1.1

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

3 participants