Hi,
 I just hosted my nodejs app on aws and got this weird error, 
I rechecked the files multiple times the file is actually on this path.

internal/modules/cjs/loader.js:985
  throw err;
  ^

Error: Cannot find module '../models/productModel'
Require stack:
- /var/server/controllers/productController.js
- /var/server/routes/productRouter.js
- /var/server/app.js
- /var/server/server.js

really am stuck with this......

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/d9225251-a003-4938-9fb2-76394f82f5eb%40googlegroups.com.

Reply via email to