NPM Install Error "MODULE_NOT_FOUND" & NPM Occuring Throw Error - npm

I just installed node module through the NPM,whenever i try to install somthing with npm, it throws the following error. I think this problem like a permission issue, But This is not looks like a permission issue. What is the problem? I want to execute command(npm install ) without throw error.
npm ERR! System Linux 2.6.32-431.11.2.el6.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"
npm ERR! cwd /home/david/NodeJS/public_html
npm ERR! node -v v0.11.12
npm ERR! npm -v 1.4.3
npm ERR! code MODULE_NOT_FOUND
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/david/NodeJS/public_html/npm-debug.log

Related

npm -install error ,I can't install appium

I'm Appium new user I have some error ,when I use the NPM command (linux),I have update my ("nvm" and "npm" )version.
I'm follow Click [here](How to setup Appium in Ubuntu for android " to setup my appium.
How can I do for next step!
root#hauying-yoga-linux:/home/hauying# npm install -g grunt-cli
npm ERR! TypeError: Cannot read property 'match' of undefined
npm ERR! at Unpack.extractOpts.filter
(/usr/share/npm/lib/utils/tar.js:245:19)
npm ERR! at Unpack.[consumeHeader]
(/usr/lib/nodejs/tar/lib/parse.js:134:48)
npm ERR! at Unpack.[consumeChunkSub]
(/usr/lib/nodejs/tar/lib/parse.js:385:30)
npm ERR! at Unpack.[consumeChunk]
(/usr/lib/nodejs/tar/lib/parse.js:362:30)
npm ERR! at Unpack.write
(/usr/lib/nodejs/tar/lib/parse.js:309:25)
npm ERR! at Unzip.ondata (_stream_readable.js:667:20)
npm ERR! at Unzip.emit (events.js:189:13)
npm ERR! at addChunk (_stream_readable.js:284:12)
npm ERR! at readableAddChunk (_stream_readable.js:265:11)
npm ERR! at Unzip.Readable.push (_stream_readable.js:220:10)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.19.37-5rodete4-amd64
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g"
"grunt-cli"
npm ERR! cwd /home/hauying
npm ERR! node -v v10.15.2
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/hauying/npm-debug.log
npm ERR! not ok code 0
root#hauying-yoga-linux:/home/hauying#
I'm fixed.
because my node and npm version too old , I'm update my document will install in my computer.

uninstall npm but 'cmd-shim' missing

I am trying to uninstall npm :
sudo npm uninstall npm
but I am getting this error :
npm ERR! Linux 4.2.0-16-generic npm ERR! argv "/usr/local/bin/node"
"/usr/local/bin/npm" "uninstall"
"npm" npm ERR! node v5.6.0 npm ERR!
npm v3.6.0 npm ERR! code MODULE_NOT_FOUND
npm ERR! Cannot find module 'cmd-shim' npm ERR! npm ERR! If you need
help, you may report this error at: npm ERR!
https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /home/techvalley/dev/workspace/npm-debug.log
Anybody knows why?
Thank you.
Uninstall node, it should remove npm.

Stuck with Npm? npm install errors

I am having a strange problem with npm in my ubuntu 14.04. I have a package.json file in my project directory. when i try to run
npm install
it fails. It logs something like
is related to insufficient space on your system.
But i have checked that there is enough available space in my directory.
Here is the log
npm ERR! tar.unpack untar error /home/rafi/.npm/core-js/1.2.6/package.tgz
npm ERR! tar.unpack untar error /home/rafi/.npm/caniuse-db/1.0.30000384/package.tgz
npm ERR! Linux 3.16.0-49-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! path /home/rafi/Desktop/dsf.angular/node_modules/babel-plugin-transform-export-extensions/node_modules/babel-runtime/node_modules/core-js/modules/library/es6.object.to-string.js
npm ERR! code ENOSPC
npm ERR! errno -28
npm ERR! nospc ENOSPC, open '/home/rafi/Desktop/dsf.angular/node_modules/babel-plugin-transform-export-extensions/node_modules/babel-runtime/node_modules/core-js/modules/library/es6.object.to-string.js'
npm ERR! nospc This is most likely not a problem with npm itself
npm ERR! nospc and is related to insufficient space on your system.
npm ERR! Please include the following file with any support request:
Any idea what may be the problem here ?

npm intstall: binding.node is missing

I tried to install npm on my local machine (Mac OS) but when I run npm start, it keeps giving me this error with node_sass. Even when I run
sudo npm install node_sass
it doesn't fix the problem.
Error: You probably need to execute `npm install` to install brunch plugins.
Error: `/Users/AnhLe/bloc/anh-jams/node_modules/sass-brunch/node_modules/node-sass/bin/darwin-x64-v8-3.28/binding.node` is missing. Try reinstalling `node-sass`?
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.0
npm ERR! npm v2.7.3
npm ERR! code ELIFECYCLE
npm ERR! bloc-rdio-skeleton#0.0.1 start: `brunch watch --server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bloc-rdio-skeleton#0.0.1 start script 'brunch watch --server'.
npm ERR! This is most likely a problem with the bloc-rdio-skeleton package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! brunch watch --server
npm ERR! You can get their info via:
npm ERR! npm owner ls bloc-rdio-skeleton
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/AnhLe/bloc/anh-jams/npm-debug.log
Looked around and these people are experiencing a similar error due to binding.node missing from SASS.
https://github.com/dlmanning/gulp-sass/issues/185

dalek-browser-chrome fails installing everytime

on my Ubuntu. I tried installing the browser plugin from chrome just as the website says to execute.
npm install dalek-browser-chrome --save-dev
problem is I get this error when running the command.
> dalek-browser-chrome#0.0.9 install /home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome
> node install.js
Chromedriver installation failed Error: EACCES, permission denied '/home/monece/tmp/chromedriver'
at Object.fs.mkdirSync (fs.js:642:18)
at mkdir (/home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/install.js:156:8)
at Promise._successFn (/home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/install.js:177:7)
at Promise._withInput (/home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/node_modules/kew/kew.js:248:25)
at Promise._chainPromise (/home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/node_modules/kew/kew.js:290:13)
at Promise.then (/home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/node_modules/kew/kew.js:154:13)
at /home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/install.js:175:23
at /home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/node_modules/npmconf/npmconf.js:76:7
at Array.forEach (native)
at /home/monece/Desktop/dalekjs/node_modules/dalek-browser-chrome/node_modules/npmconf/npmconf.js:75:13
npm ERR! dalek-browser-chrome#0.0.9 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dalek-browser-chrome#0.0.9 install script.
npm ERR! This is most likely a problem with the dalek-browser-chrome 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 their info via:
npm ERR! npm owner ls dalek-browser-chrome
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.11.0-15-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "dalek-browser-chrome" "--save-dev"
npm ERR! cwd /home/monece/Desktop/dalekjs
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/monece/Desktop/dalekjs/npm-debug.log
npm ERR! not ok code 0
p.s. I also tried using sudo npm install and it still doesnt not work