question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot find module './../node'

See original GitHub issue

Running node slackin after cloning locally throws the following error :

2016-06-18T07:45:37.731955+00:00 app[web.1]: Error: Cannot find module './../node'
2016-06-18T07:45:37.731956+00:00 app[web.1]:     at Function.Module._resolveFilename (module.js:339:15)
2016-06-18T07:45:37.731957+00:00 app[web.1]:     at Function.Module._load (module.js:290:25)
2016-06-18T07:45:37.731957+00:00 app[web.1]:     at Module.require (module.js:367:17)
2016-06-18T07:45:37.731958+00:00 app[web.1]:     at require (internal/module.js:20:19)
2016-06-18T07:45:37.731958+00:00 app[web.1]:     at Object.<anonymous> (/app/bin/slackin:5:15)
2016-06-18T07:45:37.731959+00:00 app[web.1]:     at Module._compile (module.js:413:34)
2016-06-18T07:45:37.731960+00:00 app[web.1]:     at Module.load (module.js:357:32)
2016-06-18T07:45:37.731960+00:00 app[web.1]:     at Function.Module._load (module.js:314:12)
2016-06-18T07:45:37.731961+00:00 app[web.1]:     at Function.Module.runMain (module.js:447:10)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:25

github_iconTop GitHub Comments

1reaction
leocommented, Jun 23, 2016
1reaction
nitinsuranacommented, Jun 18, 2016

Removing --port from Procfile seems to fix the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve "Cannot find module" error using Node.js?
This error can be encountered if you are require ing a module that has a missing or incorrect main ...
Read more >
Cannot find module 'X' error in Node.js | bobbyhadz
To solve the "Cannot find module" error in Node.js, make sure to install the package from the error message if it's a third-party...
Read more >
How to resolve "Cannot find module" error in Node - Sabe.io
The Cannot find module error is a common error that usually happens when dependencies are not installed. Once you install your dependencies and ......
Read more >
How to resolve can't find module error in Node.js - Reactgo
To fix Cannot find module errors, install the modules properly by running a npm install command in the appropriate directory as your project's ......
Read more >
How to fix npm cannot find module error - Nathan Sebhastian
The cannot find module error occurs because npm cannot find the module required by the index.js file. In this case, the axios module....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found