I am trying to install the gulp into my project folder.But when I run this command to install the gulp I get following error:
Sab-MacBook-Pro:myproject sab$ npm install gulp -save-dev
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "gulp" "-save-dev"
npm ERR! node v5.3.0
npm ERR! npm v3.3.12
npm ERR! path /Users/sab/RubymineProjects/myproject/node_modules/gulp
npm ERR! code ENOTEMPTY
npm ERR! errno -66
npm ERR! syscall rename
npm ERR! ENOTEMPTY: directory not empty, rename '/Users/sab/RubymineProjects/myproject/node_modules/gulp' -> '/Users/sab/RubymineProjects/myproject/node_modules/.gulp.DELETE'
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! /Users/sab/RubymineProjects/myproject/npm-debug.log
Sab-MacBook-Pro:myproject sab$
If I am not wrong the error message is due to existing gulp folder.But when I look into the my project node_module folder the gulp folder is not there.
Related
Im'trying to publish a npm package from a owned Github repository. I've tried with:
npm publish git+https://Aminta#github.com/Aminta/fontfacegen.git
But it gives the following error:
Darwin 17.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! fontfacegen#0.3.1-b build: `babel src --out-dir lib`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the fontfacegen#0.3.1-b build script 'babel src --out-dir lib'.
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 fontfacegen package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel src --out-dir lib
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs fontfacegen
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls fontfacegen
npm ERR! There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! Please include the following file with any support request:
[etc]
Any hints? Thanks!
You could publish from your local github directory. Just clone your repo and do npm publish from that directory.
Here's what npm says:
npm publish [<tarball>|<folder>] [--tag <tag>] [--access <public|restricted>]
Publishes '.' if no argument supplied
Sets tag `latest` if no --tag specified
When attempting to npm install or install with Yarn, it unsuccessfully looks for package.json in the directory above.
npm ERR! addLocal Could not install /Users/user/Developer
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/Cellar/node6-lts/6.9.1/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v6.9.1
npm ERR! npm v3.10.9
npm ERR! code EISDIR
npm ERR! errno -21
npm ERR! syscall read
npm ERR! eisdir EISDIR: illegal operation on a directory, read
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/user/Developer/npm-debug.log
Any thoughts on why this is happening?
I'm using Node 6.3 and npm 3.10.3
I'm successfully able to run the command of npm install but when i execute npm start I get the following error
I'm referring to this github repo https://github.com/aurelia/skeleton-navigation/tree/master/skeleton-typescript-webpack
Error is
npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\Program
Files\nodejs\node.exe" "C:\Program
Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "server:dev"
npm ERR! node v6.3.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE
npm ERR! aurelia-skeleton-navigation-webpack#1.0.0-beta.3.0.1
server:dev: cross-env NODE_ENV=development node
./node_modules/webpack-dev-server/bin/webpack-dev-server --inline
--progress --profile --watch npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the aurelia-skeleton-navigation-webpack#1.0.0-beta.3.0.1
server:dev script 'cross-env NODE_ENV=development node
./node_modules/webpack-dev-server/bin/webpack-dev-server --inline
--progress --profile --watch'. 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 aurelia-skeleton-navigation-webpack package,
npm ERR! not with npm itself. npm ERR! Tell the author that this fails
on your system: npm ERR! cross-env NODE_ENV=development node
./node_modules/webpack-dev-server/bin/webpack-dev-server --inline
--progress --profile --watch npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs
aurelia-skeleton-navigation-webpack npm ERR! Or if that isn't
available, you can get their info via: npm ERR! npm owner ls
aurelia-skeleton-navigation-webpack npm ERR! There is likely
additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\Afzal.Qureshi\My
Projects\AureliaTs\skeleton-navigation-master\skeleton-typescript-webpack\npm-debug.log
npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\Program
Files\nodejs\node.exe" "C:\Program
Files\nodejs\node_modules\npm\bin\npm-cli.js" "start" npm ERR!
node v6.3.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE npm ERR!
aurelia-skeleton-navigation-webpack#1.0.0-beta.3.0.1 start: npm run
server:dev npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the
aurelia-skeleton-navigation-webpack#1.0.0-beta.3.0.1 start script 'npm
run server:dev'. 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 aurelia-skeleton-navigation-webpack package, npm ERR!
not with npm itself. npm ERR! Tell the author that this fails on your
system: npm ERR! npm run server:dev npm ERR! You can get
information on how to open an issue for this project with: npm ERR!
npm bugs aurelia-skeleton-navigation-webpack npm ERR! Or if that isn't
available, you can get their info via: npm ERR! npm owner ls
aurelia-skeleton-navigation-webpack npm ERR! There is likely
additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\My
Projects\AureliaTs\skeleton-navigation-master\skeleton-typescript-webpack\npm-debug.log
It seems that you're using the nightly version of the skeleton. Be sure to pull a release version.
https://github.com/aurelia/skeleton-navigation/tree/1.0.0-beta.3.0.1/skeleton-typescript-webpack
I'm trying to get travis-ci going on my angular2 project, which uses npm to install typings, but travis-ci fails on typings install.
error
npm ERR! Linux 3.13.0-40-generic
npm ERR! argv "/home/travis/build/borysn/spring-boot-angular2/src/main/web/node/node-v6.2.0-linux-x64/bin/node" "/home/travis/build/borysn/spring-boot-angular2/src/main/web/node_modules/npm/bin/npm-cli.js" "install"
npm ERR! node v6.2.0
npm ERR! npm v3.9.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! spring-boot-angular2#0.0.1-SNAPSHOT postinstall: `typings install`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the spring-boot-angular2#0.0.1-SNAPSHOT postinstall script 'typings install'.
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 spring-boot-angular2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs spring-boot-angular2
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls spring-boot-angular2
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/travis/build/borysn/spring-boot-angular2/src/main/web/npm-debug.log
:npmInstall FAILED
There were changes in typings 1.0 that I missed, make sure to read through updating from 0.x to 1.0
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 ?