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

Problem starting Node #930

Open
sunblade1882 opened this issue Mar 31, 2017 · 0 comments
Open

Problem starting Node #930

sunblade1882 opened this issue Mar 31, 2017 · 0 comments

Comments

@sunblade1882
Copy link

sunblade1882 commented Mar 31, 2017

Hello. I was having a problem starting my server but after i reconstructed my npm packages I had everything up and running. I had to restart but now I'm getting this error everytime i try to start it up again. I tried installing the legacy node package but still no luck.

/home/indus/Desktop/RocoRahu1/rocorahu_prod/node_modules/winston/lib/winston/logger.js:475
var instance = created ? transport : (new (transport)(options));
^
TypeError: undefined is not a function
at Logger.add (/home/indus/Desktop/RocoRahu1/rocorahu_prod/node_modules/winston/lib/winston/logger.js:475:41)
at Object.winston.(anonymous function) [as add] (/home/indus/Desktop/RocoRahu1/rocorahu_prod/node_modules/winston/lib/winston.js:87:34)
at Object. (/home/indus/Desktop/RocoRahu1/rocorahu_prod/routes/index.js:36:9)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/indus/Desktop/RocoRahu1/rocorahu_prod/app.js:21:14)
npm ERR! weird error 8
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

Any help would be appreciated

@sunblade1882 sunblade1882 changed the title Problem starting Node js server Problem starting Node Mar 31, 2017
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