You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server will not start under windows after global installation. Poking around, it's due to module.parent:
if(!module.parent){app.listen(app.port,function(){console.error(`${app.name} listening on port ${app.port} [${app.env}]`)})}
When you install under windows, you get a npm-register.cmd which then runs npm-register\bin\npm-register, which becomes the parent. I was able to get it working by skipping all that and running node path/to/start.js start. That works for me, for now.
Here's a dump of module.parent, in case its useful:
The server will not start under windows after global installation. Poking around, it's due to module.parent:
When you install under windows, you get a
npm-register.cmd
which then runsnpm-register\bin\npm-register
, which becomes the parent. I was able to get it working by skipping all that and runningnode path/to/start.js start
. That works for me, for now.Here's a dump of module.parent, in case its useful:
The text was updated successfully, but these errors were encountered: