Monday, 15 August 2011

node.js - Yeoman Webapp Installation fails on Windows 7 (also any other generator) -



node.js - Yeoman Webapp Installation fails on Windows 7 (also any other generator) -

please help me out, because either yeomanm, npm or node sucks again... 1 of these , don't know who. i've used yeoman in past successfully, hence don't know problem lies. please help me debug machine.

i have:

npm 1.4.28 node v0.10.32 yo 1.3.2 yo-webapp (latest version) windows 7

and happens:

d:\wamp\www\test1>yo webapp _-----_ | | .--------------------------. |--(o)--| | welcome yeoman, | `---------´ | ladies , gentlemen! | ( _´u`_ ) '--------------------------' /___a___\ | ~ | __'.___.'__ ´ ` |° ´ y ` out of box include html5 boilerplate, jquery, , gruntfile.js build app. ? more like? bootstrap, sass ? utilize libsass? read more @ https://github.com/andrew/node-sass#node-sass: yes create gruntfile.js create package.json create .gitignore create .gitattributes create .bowerrc create bower.json create .jshintrc create .editorconfig create app\styles\main.scss create app\favicon.ico create app\robots.txt create app\index.html create app\scripts\main.js invoke mocha i'm done. running bower install & npm install install required dependencies. if fails, seek running command yourself. create test\bower.json create test\.bowerrc create test\spec\test.js create test\index.html bower mocha#~1.14.0 cached git://github.com/visionmedia/mocha.git#1.14.0 bower mocha#~1.14.0 validate 1.14.0 against git://github.com/visionmedia/mocha.git#~1.14.0 bower bootstrap-sass-official#~3.2.0 cached git://github.com/twbs/bootstrap-sass.git#3.2.0+2 bower bootstrap-sass-official#~3.2.0 validate 3.2.0+2 against git://github.com/twbs/bootstrap-sass.git#~3.2.0 bower chai#~1.8.0 cached git://github.com/chaijs/chai.git#1.8.1 bower chai#~1.8.0 validate 1.8.1 against git://github.com/chaijs/chai.git#~1.8.0 bower jquery#>= 1.9.0 cached git://github.com/jquery/jquery.git#2.1.1 bower jquery#>= 1.9.0 validate 2.1.1 against git://github.com/jquery/jquery.git#>= 1.9.0 bower chai#~1.8.0 install chai#1.8.1 bower mocha#~1.14.0 install mocha#1.14.0 chai#1.8.1 bower_components\chai mocha#1.14.0 bower_components\mocha bower bootstrap-sass-official#~3.2.0 install bootstrap-sass-official#3.2.0+2 bower jquery#>= 1.9.0 install jquery#2.1.1 bootstrap-sass-official#3.2.0+2 bower_components\bootstrap-sass-official └── jquery#2.1.1 jquery#2.1.1 bower_components\jquery npm warn package.json test1@ no description npm warn package.json test1@ no repository field. npm warn package.json test1@ no readme info \ > phantomjs@1.9.11 install d:\wamp\www\test1\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs > node install.js download available @ c:\users\user\appdata\local\temp\phantomjs\phantomjs-1.9.7-windows.zip extracting zip contents removing d:\wamp\www\test1\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom copying extracted folder c:\users\user\appdata\local\temp\phantomjs\phantomjs-1.9.7-windows.zip-extract-1413800213030\phantomjs-1.9.7-windows -> d:\wamp\www\test1\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom removing c:\users\user\appdata\local\temp\phantomjs\phantomjs-1.9.7-windows.zip-extract-1413800213030 writing location.js file done. phantomjs binary available @ d:\wamp\www\test1\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom\phantomjs.exe \ > node-sass@0.9.3 install d:\wamp\www\test1\node_modules\grunt-sass\node_modules\node-sass > node build.js `win32-ia32-v8-3.14` exists; testing | ..........\ 24 passing (159ms) binary fine; exiting npm warn optional dep failed, continuing imagemin-jpegtran@1.0.0 npm warn optional dep failed, continuing imagemin-gifsicle@1.0.0 npm warn optional dep failed, continuing imagemin-optipng@1.0.0 npm warn optional dep failed, continuing imagemin-pngquant@1.0.2 npm err! eexist, open 'c:\users\user\appdata\roaming\npm-cache\56a4390f-m-cache-lodash-2-4-1-package-tgz.lock' file exists: c:\users\user\appdata\roaming\npm-cache\56a4390f-m-cache-lodash-2-4-1-package-tgz.lock move away, , seek again. npm err! scheme windows_nt 6.1.7601 npm err! command "c:\\program files (x86)\\nodejs\\\\node.exe" "c:\\program files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" npm err! cwd d:\wamp\www\test1\test npm err! node -v v0.10.32 npm err! npm -v 1.4.28 npm err! path c:\users\user\appdata\roaming\npm-cache\56a4390f-m-cache-lodash-2-4-1-package-tgz.lock npm err! code eexist npm err! errno 47 npm err! not ok code 0

why can't install generator anymore?

it seems there cache lock file, seek execute npm cache clean , install again.

node.js npm yeoman

No comments:

Post a Comment