slackin: Error: Cannot find module './../node'
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)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 2
- Comments: 25
Fixed in https://github.com/rauchg/slackin/pull/208
Removing
--port
from Procfile seems to fix the issue.