stf icon indicating copy to clipboard operation
stf copied to clipboard

stf doctor some error occured

Open yuqlabson opened this issue 10 years ago • 5 comments

information: CentOS Linux 2.6.32-431.el6.x86_64 node v0.12.12 npm v3.10.5

[root@root local]# npm install -g stf npm WARN deprecated [email protected]: Use @slack/client instead, this package is no longer maintained npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated [email protected]: Deprecated, use jstransformer npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. /usr/local/node/bin/stf -> /usr/local/node/lib/node_modules/stf/bin/stf /usr/local/node/lib └─┬ [email protected] ├─┬ [email protected] │ └── [email protected] ├── [email protected] ├─┬ [email protected] │ └─┬ [email protected] │ ├─┬ [email protected] │ │ ├── [email protected] │ │ └── [email protected] │ └─┬ [email protected] │ └── [email protected] ├─┬ [email protected] │ └─┬ [email protected] │ └─┬ [email protected] │ └─┬ [email protected] │ └─┬ [email protected] │ └─┬ [email protected] │ └─┬ [email protected] │ └── [email protected] ├─┬ [email protected] │ └── [email protected] ├─┬ [email protected] │ └─┬ [email protected] │ └── [email protected] └─┬ [email protected] └─┬ [email protected] ├── [email protected] └─┬ [email protected] └─┬ [email protected] └── [email protected]

[root@root local]# stf doctor /usr/local/node/lib/node_modules/stf/node_modules/bindings/bindings.js:91 throw err ^ Error: Could not locate the bindings file. Tried: → /usr/local/node/lib/node_modules/stf/node_modules/zmq/build/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/build/Debug/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/build/Release/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/out/Debug/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/Debug/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/out/Release/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/Release/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/build/default/zmq.node → /usr/local/node/lib/node_modules/stf/node_modules/zmq/compiled/0.12.12/linux/ia32/zmq.node at bindings (/usr/local/node/lib/node_modules/stf/node_modules/bindings/bindings.js:88:9) at Object. (/usr/local/node/lib/node_modules/stf/node_modules/zmq/lib/index.js:6:30) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (/usr/local/node/lib/node_modules/stf/node_modules/zmq/index.js:2:18) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (/usr/local/node/lib/node_modules/stf/lib/util/doctor.js:5:11)

run the command stf doctor failed.... need help!!!

yuqlabson avatar Aug 05 '16 09:08 yuqlabson

Check zmq folder is available inside /usr/local/node/lib/node_modules/stf/node_modules/ if not present run brew install zeromq.

tadesushilgithub avatar Aug 06 '16 11:08 tadesushilgithub

@tadesushilgithub command brew in CentOS does not work!

yuqlabson avatar Aug 08 '16 02:08 yuqlabson

If you're on Linux, it would be very easy to just use the docker image which has all the necessary deps.

On Monday, 8 August 2016, yuqlabson [email protected] wrote:

@tadesushilgithub https://github.com/tadesushilgithub command brew in CentOS does not work!

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

sorccu avatar Aug 08 '16 03:08 sorccu

I have also encountered the same problem.I'm on OSX.how can I fix it.

jerry117 avatar Dec 17 '16 03:12 jerry117

I'm on Mac OS.I also have this problem.And I rm node_modules but also get this problem....How can i fix it...

JcmeLs avatar Apr 14 '17 03:04 JcmeLs