Skip to content

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

@VincentDauliac

Description

@VincentDauliac

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions