Tuesday, 2 May 2017

NodeJS can't find module server.js

On

node server.js

the application fails to start. Specifically:

                                                                                                                                                                                                                                         Error: Cannot find module 'C:\Users\zarkopafilis\Documents\ceid-material\server.js'                                                                                                                                                              at Function.Module._resolveFilename (module.js:469:15)                                                                                                                                                                                       at Function.Module._load (module.js:417:25)                                                                                                                                                                                                  at Module.runMain (module.js:604:10)                                                                                                                                                                                                         at run (bootstrap_node.js:393:7)                                                                                                                                                                                                             at startup (bootstrap_node.js:150:9)                                                                                                                                                                                                         at bootstrap_node.js:508:3  

While the server.js file exists. This is done in order to push some app to heroku (https://github.com/Zarkopafilis/ceid-material)



via Jue Debutat

No comments:

Post a Comment