I got an error when trying to install appium. It always says: node error.
Here is code:
sudo npm install wd
wd#1.2.0 install /home/nataliya/node_modules/wd
node scripts/build-browser-scripts
sh: 1: node: not found
nataliya#1.0.0 /home/nataliya
├── json#9.0.6 extraneous
├── redis#0.7.3
├── selenium-webdriver#3.4.0
└── typescript#2.3.2
npm WARN nataliya#1.0.0 No description
npm WARN nataliya#1.0.0 No repository field.
npm ERR! Linux 4.4.0-77-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "wd"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! wd#1.2.0 install: `node scripts/build-browser-scripts`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the wd#1.2.0 install script 'node scripts/build-browser-scripts'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the wd package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build-browser-scripts
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs wd
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls wd
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/nataliya/npm-debug.log
And when I try to instal Appium, it comes up with this error:
sudo npm install -g appium
/home/nataliya/npm/bin/appium -> /home/nataliya/npm/lib/node_modules /appium/build/lib/main.js
/home/nataliya/npm/lib
└── appium#1.6.4
npm WARN optional Skipping failed optional dependency /appium/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.1.1
I think you are victim of this issue: node is installed in a way that you only have nodejs in $PATH, but you need node.
Related
i keep getting this error
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\eze samuel\package.json'
npm WARN eze samuel No description
npm WARN eze samuel No repository field.
npm WARN eze samuel No README data
npm WARN eze samuel No license field.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "bitcore"
npm ERR! node v6.10.3
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! bitcore-node#3.1.3 preinstall: `./scripts/download`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bitcore-node#3.1.3 preinstall script './scripts/download'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bitcore-node package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ./scripts/download
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bitcore-node
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bitcore-node
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\eze samuel\npm-debug.log
The bitcore library explicitly tells you to install globally:
Spin up a full node and join the network:
npm install -g bitcore
bitcored
Note the -g flag in the command. Currently, you're running npm install bitcore, which fails because you're trying to install locally without a package.json file. If you're not installing with -g, you must run npm init first before installing anything. In this case, you are installing with -g, so just follow the docs step by step, copying exactly what they tell you.
I want to use snmpjs library in my project, but I cant install this package, I've downloaded the last npm, nodejs version but when I try this command:
npm install snmpjs
this error raised:
snmpjs#0.1.8 install /home/user/Desktop/Project1/node_modules/snmpjs
jison -o lib/parser.js lib/snmp.jison
sh: 1: jison: Permission denied
/home/user/Desktop/Project1/
├── ejs#2.5.5
├── express#4.14.0
├── kafka-node#1.0.7
├── net-snmp#1.1.19
└── pg#6.1.2
npm WARN enoent ENOENT: no such file or directory, open '/home/user/Desktop/Project1/package.json'
npm WARN Project1 No description
npm WARN Project1 No repository field.
npm WARN Project1 No README data
npm WARN Project1 No license field.
npm ERR! Linux 3.13.0-105-generic
npm ERR! argv "/home/user/.nvm/versions/node/v5.9.1/bin/node" "/home/user/.nvm/versions/node/v5.9.1/bin/npm" "install" "snmpjs"
npm ERR! node v5.9.1
npm ERR! npm v3.7.3
npm ERR! code ELIFECYCLE
npm ERR! snmpjs#0.1.8 install: `jison -o lib/parser.js lib/snmp.jison`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the snmpjs#0.1.8 install script 'jison -o lib/parser.js lib/snmp.jison'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the snmpjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! jison -o lib/parser.js lib/snmp.jison
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs snmpjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls snmpjs
npm ERR! There is likely additional logging output above.
I've tried sudo and I got this error:
sh: 1: jison: Permission denied
npm ERR! weird error 126
npm ERR! not ok code 0
Try this:
npm uninstall XXXX
npm cache clean
npm i -g npm
I meet the problem on debian clould system.and after update node and npm.
I'm going to install slamdata on debian Jessie, as described here, but I failed at npm install section and it wanted to install chromedriver. I even tried a mirror of chromedriver. Here is logs.
exec#mob-db1:/opt/slamdata$ npm install
npm WARN deprecated npmconf#2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
chromedriver#2.23.1 install /opt/slamdata/node_modules/chromedriver
node install.js
Downloading http://chromedriver.storage.googleapis.com/2.23/chromedriver_linux64.zip
Saving to /tmp/chromedriver/chromedriver_linux64.zip
Receiving...
ChromeDriver installation failed undefined
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.0.14
npm ERR! Linux 4.2.8-1-pve
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v6.4.0
npm ERR! npm v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! chromedriver#2.23.1 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver#2.23.1 install script node install.js.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs chromedriver
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls chromedriver
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/slamdata/npm-debug.log
exec#mob-db1:/opt/slamdata$ npm install chromedriver --chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver
npm WARN deprecated npmconf#2.1.2: this package has been reintegrated into
npm and is now out of date with respect to npm
chromedriver#2.23.1 install /opt/slamdata/node_modules/chromedriver
node install.js
Downloading http://npm.taobao.org/mirrors/chromedriver/2.23/chromedriver_linux64.zip
Saving to /tmp/chromedriver/chromedriver_linux64.zip
Receiving...
ChromeDriver installation failed undefined
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.0.14
npm ERR! Linux 4.2.8-1-pve
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "chromedriver" "--chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver"
npm ERR! node v6.4.0
npm ERR! npm v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! chromedriver#2.23.1 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver#2.23.1 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs chromedriver
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls chromedriver
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/slamdata/npm-debug.log
I met it with 'yarn install' which info 'chromedriver: ChromeDriver installation failed Error with http'.So i try to install chromedriver before 'yarn install'.
And then solve it.
https://www.npmjs.com/package/chromedriver
If you are not able to install chrome driver through npm, use the binary files of chrome driver. Make sure you download the same version binary file as that of your chrome browser.
Go to: https://chromedriver.chromium.org/
This will give you an exe file.
Put this file in user/AppData/Roaming/npm directory.
set this to PATH environment variables.
Thats it! You are done :)
I want to run meteor application on windows after developting it some time on mac. when I run meteor command it states this error:
=> Started proxy.
=> Started MongoDB.
npm-container: updating npm dependencies -- lather_headers, azure-graphapi, xml2json, node-forge, websocket, googleapis, request, path, gmail-api-create-message-body, request-promise, node-ews-noloop,
http-proxy...
=> Errors prevented startup:
While building package npm-container:
error: couldn't install npm packages from npm-shrinkwrap: Command failed: gypnpm WARN enoent ENOENT, open 'C:\c\liso_service\packages\npm-container\.npm\package-new-1e8tkgh\package.json'
npm WARN package-new-1e8tkgh No description
npm WARN package-new-1e8tkgh No repository field.
npm WARN package-new-1e8tkgh No README data
npm WARN package-new-1e8tkgh No license field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Users\\Administrator\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.4_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe"
"C:\\Users\\Administrator\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.4_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v0.10.45
npm ERR! npm v3.9.6
npm ERR! code ELIFECYCLE
npm ERR! node-expat#2.3.13 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat#2.3.13 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-expat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-expat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-expat
npm ERR! There is likely additional logging output above.
gypnpm WARN enoent ENOENT, open 'C:\c\liso_service\packages\npm-container\.npm\package-new-1e8tkgh\package.json'
npm WARN package-new-1e8tkgh No description
npm WARN package-new-1e8tkgh No repository field.
npm WARN package-new-1e8tkgh No README data
npm WARN package-new-1e8tkgh No license field.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Users\\Administrator\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.4_1\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe"
"C:\\Users\\Administrator\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.4_1\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v0.10.45
npm ERR! npm v3.9.6
npm ERR! code ELIFECYCLE
npm ERR! node-expat#2.3.13 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat#2.3.13 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-expat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-expat
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-expat
npm ERR! There is likely additional logging output above.
=> Your application has errors. Waiting for file change.
I can see what is the error message. But I do not know haw do I get directory package-new-1e8tkgh instead of just package
I have correct versions of node and npm, that are mentioned in error:
npm ERR! node v0.10.45
npm ERR! npm v3.9.6
This was warking while I had meteor version 1.2.0.2 and I was using node version 0.10.40. But since meteor upgrade to 1.3.4.1 it stopped.
I also have visual studio 2012 and python 2.7 installed. ( as it says on some previous sources, that this was necessary to run and build meteor on windows. like this one )
OS is windows server 2012, I have tried on Win 7, 8 and 10 but it does not work. Event the old meteor version 1.2.0.2 was just working on Windows server 2012.
What should I do to get this working? Why is this happening at all. Should not I just install newer node version and go on. Like in this case from 0.10.40 to 0.10.45.
Please advise.
I am trying to install npm using :
sudo npm install azure#0.6.9
npm http GET https://registry.npmjs.org/azure/0.6.9
npm http 304 https://registry.npmjs.org/azure/0.6.9
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: azure#0.6.9
npm ERR! Required: {"node":">= 0.6.15"}
npm ERR! Actual: {"npm":"1.1.4","node":"0.6.12"}
npm ERR!
npm ERR! System Linux 3.2.0-31-virtual
npm ERR! command "node" "/usr/bin/npm" "install" "azure#0.6.9"
npm ERR! cwd /home/azureuser/nvm/bin
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! code ENOTSUP
npm ERR! message Unsupported
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/azureuser/nvm/bin/npm-debug.log
npm not ok
$ node --version
v0.8.16
not sure where it is getting the version number from (or) why is the use in nvm also not taking into effect. Can you please let me know what I am missing