Closed shakedlokits closed 9 years ago
Apparently I'm also getting some other ones
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/Users/shakedlokits/.nvm/versions/node/v0.12.2/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.8.3
npm ERR! path /Users/shakedlokits/Desktop/mytodo/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! enoent ENOENT, open '/Users/shakedlokits/Desktop/mytodo/node_modules/grunt/node_modules/js-yaml/lib/js-yaml/mark.js'
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! tar.unpack untar error /Users/shakedlokits/.npm/exit/0.1.2/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/glob/3.1.21/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/underscore.string/2.3.3/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/glob/3.2.11/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/underscore.string/2.2.1/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/lodash/0.9.2/package.tgz
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/coffee-script/1.3.3/package.tgz
bower angular-animate#^1.3.0 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/angular/bower-angular-animate.git", exit code of #128 fatal: unable to access 'https://github.com/angular/bower-angular-animate.git/': Failed to connect to github.com port 443: Operation timed out
Additional error details:
fatal: unable to access 'https://github.com/angular/bower-angular-animate.git/': Failed to connect to github.com port 443: Operation timed out
module.js:338
throw err;
^
Error: Cannot find module 'coffee-script'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/Users/shakedlokits/Desktop/mytodo/node_modules/grunt/lib/grunt.js:16:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node: Finished
CXX(target) Release/obj.target/fse/fsevents.o
npm ERR! tar.unpack untar error /Users/shakedlokits/.npm/iconv-lite/0.2.11/package.tgz
SOLINK_MODULE(target) Release/fse.node
SOLINK_MODULE(target) Release/fse.node: Finished
> phantomjs@1.9.16 install /Users/shakedlokits/Desktop/mytodo/node_modules/karma-phantomjs-launcher/node_modules/phantomjs
> node install.js
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-macosx.zip
Saving to /var/folders/w9/15g4p02d1g33xc2thpt3qnxm0000gn/T/phantomjs/phantomjs-1.9.8-macosx.zip
Receiving...
Error making request.
Error: connect ETIMEDOUT
at exports._errnoException (util.js:746:11)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)
Please report this full log at https://github.com/Medium/phantomjs
> ws@0.4.32 install /Users/shakedlokits/Desktop/mytodo/node_modules/karma/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
SOLINK_MODULE(target) Release/bufferutil.node
SOLINK_MODULE(target) Release/bufferutil.node: Finished
CXX(target) Release/obj.target/validation/src/validation.o
SOLINK_MODULE(target) Release/validation.node
SOLINK_MODULE(target) Release/validation.node: Finished
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/Users/shakedlokits/.nvm/versions/node/v0.12.2/bin/npm" "install" "karma-phantomjs-launcher" "karma-jasmine" "grunt-karma" "--save-dev"
npm ERR! node v0.12.2
npm ERR! npm v2.8.3
npm ERR! code ELIFECYCLE
npm ERR! phantomjs@1.9.16 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs@1.9.16 install script 'node install.js'.
npm ERR! This is most likely a problem with the phantomjs 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 phantomjs
npm ERR! There is likely additional logging output above.
-
npm ERR! Please include the following file with any support request:
npm ERR! /Users/shakedlokits/Desktop/mytodo/npm-debug.log
\
> pngquant-bin@2.0.3 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node lib/install.js
⚠ connect ETIMEDOUT
⚠ pngquant pre-build test failed
ℹ compiling from source
✖ Error: connect ETIMEDOUT
at exports._errnoException (util.js:746:11)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)
> gifsicle@2.0.1 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node lib/install.js
✔ gifsicle pre-build test passed successfully
> optipng-bin@2.0.4 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js
✔ optipng pre-build test passed successfully
> jpegtran-bin@2.0.2 postinstall /Users/shakedlokits/Desktop/mytodo/node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js
✔ jpegtran pre-build test passed successfully
npm ERR! Please include the following file with any support request:
npm ERR! /Users/shakedlokits/Desktop/mytodo/npm-debug.log
my computer is now a QA's hell..
It looks like you are having network issues. Try running npm install
again.
npm WARN locking Error: EACCES, open '/var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock'
npm WARN locking at Error (native)
npm WARN locking /var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock failed { [Error: EACCES, open '/var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock']
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking path: '/var/root/.npm/_locks/karma-phantomjs-launcher-8cb9d0ec2928cc9b.lock' }
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.7.3
npm ERR! Attempt to unlock /Users/CodeMonkey/Documents/todoto/node_modules/karma-phantomjs-launcher, which hasn't been locked
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm WARN locking Error: EACCES, open '/var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock'
npm WARN locking at Error (native)
npm WARN locking /var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock failed { [Error: EACCES, open '/var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock']
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking path: '/var/root/.npm/_locks/karma-jasmine-e2ce7f7026ddec96.lock' }
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.7.3
npm ERR! Attempt to unlock /Users/CodeMonkey/Documents/todoto/node_modules/karma-jasmine, which hasn't been locked
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm WARN locking Error: EACCES, open '/var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock'
npm WARN locking at Error (native)
npm WARN locking /var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock failed { [Error: EACCES, open '/var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock']
npm WARN locking errno: -13,
npm WARN locking code: 'EACCES',
npm WARN locking path: '/var/root/.npm/_locks/grunt-karma-ae1b6593cbf77104.lock' }
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.0
npm ERR! npm v2.7.3
npm ERR! Attempt to unlock /Users/CodeMonkey/Documents/todoto/node_modules/grunt-karma, which hasn't been locked
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/CodeMonkey/Documents/todoto/npm-debug.log
Nope... not a network issue. Nice way to avoid the issue though.
This has been an on-going issue with the Angular generator for at least 2 months. I reported exactly the same issue to you a couple of months ago but you blew me off just like you're blowing off this guy. If I follow a simple guide on your site, yet your tutorial results in the installation of DEPRECATED dependencies, it's clear you are not maintaining the package. Please don't send other devs on a wild goose chase because you're avoiding the issue.
I just ran this Yo generator immediately before posting, immediately after updating Grunt (which your generator attempts to update as a far-outdated version [deprecated]) and immediately after running npm install (which your generator does FOR you but with the wrong dependencies) and still have the same issues as the OP.
I don't think you guys are testing this on OSX. If you were, you'd see the same errors.
You also don't mention that perms require sudo or root (@ sudo su) in order to install all of the required dependencies correctly.
I'm sorry, but I have to call sloppy dev work once again.
Error making request. Error: connect ETIMEDOUT
sounds like a network error to me.
@superghostmaster you have a completely different issue. Your problem is a locked npm file probably from a failed install. Also, I think everyone on the @yeoman/yeoman-core team has/uses OSX almost exclusively.
You also don't mention that perms require sudo or root (@ sudo su) in order to install all of the required dependencies correctly.
Absolutely false. It sounds like you messed up your install of npm as you installed it using sudo when you didn't need to and know it is causing you all sorts of problems.
@superghostmaster please stop trolling. It wastes everyone's time. IF you have a legit problem, ask it on stackoverflow. If you have found a bug, please open an issue on the appropriate repo.
@superghostmaster Try sudo rm -rf /var/root/.npm/_locks
.
Thanks, I'll check your resolutions on Sunday, I have a strong internet connection at the university and I'll get back to you On Apr 22, 2015 2:52 AM, "Zeno Rocha" notifications@github.com wrote:
@superghostmaster https://github.com/superghostmaster Try sudo rm -rf /var/root/.npm/_locks.
— Reply to this email directly or view it on GitHub https://github.com/yeoman/generator-angular/issues/1064#issuecomment-94976584 .
@shakedlokits any update?
Just checked it right now and running npm install
solved it! (:
>> Local Npm module "grunt-filerev" not found. Is it installed?
when running grunt serve
, any solution?npm install grunt-filerev
sry - wrong issue
I got this error during npm install angular-material how to reolve this:- +-- UNMET PEER DEPENDENCY angular@1.6.3 +-- UNMET PEER DEPENDENCY angular-animate@>=1.3 <1.6 +-- UNMET PEER DEPENDENCY angular-aria@>=1.3 <1.6 `-- angular-material@1.1.3
npm WARN angular-material@1.1.3 requires a peer of angular@>=1.3 <1.6 but none was installed. npm WARN angular-material@1.1.3 requires a peer of angular-animate@>=1.3 <1.6 but none was installed. npm WARN angular-material@1.1.3 requires a peer of angular-aria@>=1.3 <1.6 but none was installed. npm WARN exit@1.0.0 No repository field.
I'm getting several fun errors during the generation of the generator-angular I hope you could help
Thanks in advance and I hope we'll find a solution!