Can't Install Topojson - node.js

When installing topojson from npm (which I installed through homebrew)I get the following:
npm WARN enoent ENOENT: no such file or directory, open '/Users/MuhammadShaaban/package.json'
npm WARN MuhammadShaaban No description
npm WARN MuhammadShaaban No repository field.
npm WARN MuhammadShaaban No README data
npm WARN MuhammadShaaban No license field.
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/7.3.0/bin/node" "/usr/local/bin/npm" "install" "topojson"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! path /Users/MuhammadShaaban/node_modules/topojson/node_modules/topojson-server/bin/geo2topo
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/MuhammadShaaban/node_modules/topojson/node_modules/topojson-server/bin/geo2topo'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/MuhammadShaaban/node_modules/topojson/node_modules/topojson-server/bin/geo2topo'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/MuhammadShaaban/npm-debug.log
I have looked through other similar type questions but cant find a fix. Any idea on how to correct this?

Try npm install topojson --no-bin-links

Related

npm throws ENOENT error when trying to install module

The documentation for the module tells me to run npm install --save mapbox-gl but when I try this I receive the following error.
npm ERR! addLocal Could not install
/Users/marchorne/conichi/cmc/node_modules/mapbox-gl/src/style-spec
npm WARN deprecated point-geometry#0.0.0: This module has moved: please
install #mapbox/point-geometry instead
npm WARN deprecated vector-tile#1.3.0: This module has moved: please
install #mapbox/vector-tile instead
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "mapbox-gl"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! path /Users/marchorne/conichi/cmc/node_modules/mapbox-gl/src/style-spec
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open
'/Users/marchorne/conichi/cmc/node_modules/mapbox-gl/src/style-spec'
npm ERR! enoent ENOENT: no such file or directory, open
'/Users/marchorne/conichi/cmc/node_modules/mapbox-gl/src/style-spec'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/marchorne/conichi/cmc/npm-debug.log
My system is MacOS Sierra 10.12.5
Node version: v6.10.0
NPM version: v3.10.10
v0.39 seems to be broken see https://github.com/mapbox/mapbox-gl-js/issues/5025
You can try to install previous version with npm install --save mapbox-gl#0.38.0

angular2 set up issues

$ npm install
npm WARN enoent ENOENT: no such file or directory, open 'C:\angular2-seed\package.json'
npm WARN angular2-seed No description
npm WARN angular2-seed No repository field.
npm WARN angular2-seed No README data
npm WARN angular2-seed No license field.
$ npm bugs
npm ERR! path cmd
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn cmd
npm ERR! enoent spawn cmd ENOENT
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\christiansimonet\AppData\Roaming\npm-cache\_logs\2017-05-30T19_45_53_640Z-debug.log

Error install Ionic cordova in MacOS Sierra 10.12.3

I install Ionic Cordova with this command line in macOS sierra 10.12.3:
sudo npm install -g cordova ionic --unsafe-perm quickscrape
And I see this error:
npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic" "--unsafe-perm" "quickscrape"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! path /usr/local/lib/node_modules/.staging/abbrev-ef9cc920
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-ef9cc920' -> '/usr/local/lib/node_modules/cordova/node_modules/npm/node_modules/abbrev'
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-ef9cc920' -> '/usr/local/lib/node_modules/cordova/node_modules/npm/node_modules/abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /Users/it/npm-debug.log
How do can i fix this problem and install this?!
After Update npm with sural comment :
sudo npm install -g cordova ionic --unsafe-perm quickscrape
npm ERR! path /usr/local/lib/node_modules/.staging/abbrev-ef9cc920
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/.staging/abbrev-ef9cc920' -> '/usr/local/lib/node_modules/cordova/node_modules/npm/node_modules/abbrev'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/it/.npm/_logs/2017-04-13T11_36_41_762Z-debug.log
I need to found folder but i cant see this:

can't install grunt-combine-media-queries on Ubuntu 14.04.1

I need help. I trying install grunt-combine-media-queries:
npm install grunt-combine-media-queries --save
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.0.17
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "grunt-combine-media-queries" "--save"
npm ERR! node v6.6.0
npm ERR! npm v3.10.3
npm ERR! path /var/www/dev/htmlacademy/education.htmlacademy/less/test_area_less/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/dev/htmlacademy/education.htmlacademy/less/test_area_less/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv'
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/dev/htmlacademy/education.htmlacademy/less/test_area_less/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
Is there any solution for this? Thanks for answers!
Try to install utilizing the --no-bin-links flag. For example:
$ npm install grunt-combine-media-queries --save --no-bin-links
A quote from the docs reads:
Set to false to have it not do this. This can be used to work around the fact that some file systems don't support symlinks, even on ostensibly Unix systems..

npm ERR! addLocal Could not install error on Windows 7

I'm trying to do npm install on my project root where I have the package.json file. There is a git module in the dependencies of my package.json which I would like to install.
I have npm version 3.8.5 installed.
When I run npm install, I get the following error:
npm ERR! addLocal Could not install C:\Users\<username>\npm-global\Temp\npm-16864-a5deb5d4\git-cache-e02b7085\
ed488e2db50edd81e6db23865772ae34d4e446c5
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\<some-folder-path>\\nodejs\\node.exe" "C:\\<some-folder-path>\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.4.2
npm ERR! npm v3.8.5
npm ERR! path C:\Users\<username>\AppData\Roaming\npm-cache\<module-name>\0.0.2\package.tgz
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall scandir
npm ERR! enoent ENOENT: no such file or directory, scandir 'C:\Users\<username>\AppData\Roaming\npm-cache\ute-
gulp-tasks\0.0.2\package.tgz'
npm ERR! enoent ENOENT: no such file or directory, scandir 'C:\Users\<username>\AppData\Roaming\npm-cache\<module-name>\0.0.2\package.tgz'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
I can see the files created for the error npm ERR!
C:\Users\<username>\npm-global\Temp\npm-16864-a5deb5d4\git-cache-e02b7085\
ed488e2db50edd81e6db23865772ae34d4e446c5
and
C:\Users\<username>\AppData\Roaming\npm-cache\<module-name>\0.0.2\package.tgz
but for some reason npm could not access it.
Unfortunately, I could not find a solution for this issue anywhere.
It would be great if someone can help me out !!!
Thanks in advance !

Resources