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
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
The text was updated successfully, but these errors were encountered:
sunblade1882
changed the title
Problem starting Node js server
Problem starting Node
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
The text was updated successfully, but these errors were encountered: