stf icon indicating copy to clipboard operation
stf copied to clipboard

stf local error

Open zhaoming1222 opened this issue 10 years ago • 4 comments

npm install goes well npm link goes well

stf local error

log: INF/cli:local 26886 [*] Shutting down all child processes /Users/gaoman/Documents/openstf/stf/node_modules/bindings/bindings.js:91 throw err ^

Error: Could not locate the bindings file. Tried: → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/build/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/build/Debug/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/build/Release/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/out/Debug/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/Debug/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/out/Release/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/Release/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/build/default/zmq.node → /Users/gaoman/Documents/openstf/stf/node_modules/zmq/compiled/5.4.0/darwin/x64/zmq.node at bindings (/Users/gaoman/Documents/openstf/stf/node_modules/bindings/bindings.js:88:9) at Object. (/Users/gaoman/Documents/openstf/stf/node_modules/zmq/lib/index.js:6:30) at Module._compile (module.js:398:26) at Object.Module._extensions..js (module.js:405:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object. (/Users/gaoman/Documents/openstf/stf/node_modules/zmq/index.js:2:18) at Module._compile (module.js:398:26) at Object.Module._extensions..js (module.js:405:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Module.require (module.js:354:17) at require (internal/module.js:12:17) at Object. (/Users/gaoman/Documents/openstf/stf/lib/util/zmqutil.js:7:11)

need help!!!

zhaoming1222 avatar Jan 13 '16 15:01 zhaoming1222

If you're using an older version of Node with NPM 2, you're probably hitting npm/npm#5400. You can try running npm rebuild zmq if you don't want to upgrade, but I would strongly recommend using Node 5.x instead.

Please close the ticket if this solves your issue.

sorccu avatar Jan 13 '16 15:01 sorccu

Got the same error message , is this issue be resolved?

tobecrazy avatar Nov 19 '16 06:11 tobecrazy

rm -rf node_modules && npm install

On Sat, 19 Nov 2016 at 15:31 tobecrazy [email protected] wrote:

Got the same error message , is this issue be resolved?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openstf/stf/issues/250#issuecomment-261696935, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_TLtB2nwUdMtQavymSsnB8MYgOtgks5q_pezgaJpZM4HEHJZ .

sorccu avatar Nov 19 '16 06:11 sorccu

@sorccu sorccu Thanks , it works!

tobecrazy avatar Nov 19 '16 14:11 tobecrazy