Error: Cannot find module './createpair.v0.6.7' #5

Closed
mikosh75 opened this Issue Jan 15, 2012 · 5 comments

Projects

None yet

2 participants

@mikosh75

Hi
i just installed node-fork@0.4.0 as dependencie of nodejitsu/forever package.
It installs correctly, but when i launch forever, it outputs an error on shim.js:35

node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Cannot find module './createpair.v0.6.7' at Function._resolveFilename (module.js:334:11) at Function._load (module.js:279:25) at Module.require (module.js:357:17) at require (module.js:368:17) at Object.<anonymous> (/usr/local/lib/node_modules/forever/node_modules/node-fork/lib/shim.js:35:16) at Module._compile (module.js:432:26) at Object..js (module.js:450:10) at Module.load (module.js:351:31) at Function._load (module.js:310:12) at Module.require (module.js:357:17)

@stolsma
Owner
stolsma commented Jan 15, 2012

What are the filenames in the /usr/local/lib/node_modules/forever/node_modules/node-fork/lib directory ??

If it installed correctly there must be one or more createpair.v0.x.x files.

If not, could you post the filenames in the /usr/local/lib/node_modules/forever/node_modules/node-fork/build/default and /usr/local/lib/node_modules/forever/node_modules/node-fork/build/Release directories ??

@stolsma
Owner
stolsma commented Jan 15, 2012

BTW which version of forever are you using ??

@mikosh75

[mikosh@62 ~]$ ls -ahl /usr/local/lib/node_modules/forever/node_modules/node-fork/lib total 13K drwxr-xr-x 2 nobody root 1.0K Jan 15 12:46 . drwxr-xr-x 7 nobody root 1.0K Jan 15 12:39 .. -rw-r--r-- 1 nobody root 3.1K Jan 9 20:36 fork.js -rw-r--r-- 1 nobody root 2.0K Jan 9 20:36 native.js -rw-r--r-- 1 nobody root 4.5K Jan 15 12:46 shim.js

[mikosh@62 ~]$ ls -ahl /usr/local/lib/node_modules/forever/node_modules/node-fork/build/default ls: /usr/local/lib/node_modules/forever/node_modules/node-fork/build/default: No such file or directory

[mikosh@62 ~]$ find /usr/local/lib/node_modules/forever/node_modules/node-fork/build/Release/ /usr/local/lib/node_modules/forever/node_modules/node-fork/build/Release/ /usr/local/lib/node_modules/forever/node_modules/node-fork/build/Release/src /usr/local/lib/node_modules/forever/node_modules/node-fork/build/Release/src/createpair_1.o

forever@0.8.4

@mikosh75

sorry, my fault
Unistalled end reinstalled forever and now works!

[root@62 ~]# ll /usr/local/lib/node_modules/forever/node_modules/node-fork/lib/
total 61K
drwxr-xr-x 2 nobody root 1.0K Jan 16 00:13 .
drwxr-xr-x 7 nobody root 1.0K Jan 16 00:13 ..
-rwxr-xr-x 1 root   root  47K Jan 16 00:13 createpair.v0.6.7.node
-rw-r--r-- 1 nobody root 3.1K Jan  9 20:36 fork.js
-rw-r--r-- 1 nobody root 2.0K Jan  9 20:36 native.js
-rw-r--r-- 1 nobody root 4.5K Jan  9 20:36 shim.js
@stolsma
Owner
stolsma commented Jan 16, 2012

Ok, closing...

@stolsma stolsma closed this Jan 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment