vendredi 1 novembre 2019

Can not install wdio-jasmine-framework

i want to install the package 'wdio-jasmine-framework' with the command 'npm i wdio-jasmine-framework --save-dev' but i get this error message. I already tried to delete the global 'node-gyp' package. I checked if my mac os is ready for it, with https://github.com/nodejs/node-gyp/blob/master/macOS_Catalina.md and also tried this here https://github.com/nodejs/node-gyp. Still doesn't work. Node version 13.0.1, npm version 6.12.0.

ps: i am new newbie in frontend

20 errors generated.
make: *** [Release/obj.target/fibers/src/fibers.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/behzadkarimi/.nvm/versions/node/v13.0.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.0.0
gyp ERR! command "/Users/behzadkarimi/.nvm/versions/node/v13.0.1/bin/node" "/Users/behzadkarimi/.nvm/versions/node/v13.0.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /Users/behzadkarimi/Documents/mailbutler/mailbutler-mobile-integration-test/node_modules/wdio-sync/node_modules/fibers
gyp ERR! node -v v13.0.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'`
Alpine users please run: `sudo apk add python make g++`
sh: nodejs: command not found
npm WARN mailbutler-mobile-integration-test@1.0.0 No description
npm WARN mailbutler-mobile-integration-test@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! fibers@3.1.1 install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the fibers@3.1.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/behzadkarimi/.npm/_logs/2019-11-01T11_40_02_099Z-debug.log```

Aucun commentaire:

Enregistrer un commentaire