i have problem...i want create first phonegap app mobile angular ui...i'm seeing official doc on mobile angular ui...so run command:
> c:\users\blabla>npm install -g bower yo gulp > generator-mobileangularui
i receive error...
> npm warn engine yo@1.4.6: wanted: {"node":">=0.10.0","npm":">=2.1.0"} > (current: {"node":"v0.10.29","npm":"1.4.14"}) | > > > > buffertools@2.1.2 install c:\users\blabla\appdata\roaming\npm\node_m odules\generator-mobileangularui\node_modules\slug\node_modules\unicode\node_mod > ules\bufferstream\node_modules\buffertools > > node-gyp rebuild > > / > c:\users\blabla\appdata\roaming\npm\node_modules\generator-mobileangul > arui\node_modules\slug\node_modules\unicode\node_modules\bufferstream\node_modul > es\buffertools>node "c:\program > files\nodejs\node_modules\npm\bin\node-gyp-bin\\ > ..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild gyp err! > configure error gyp err! stack error: can't find python executable > "python", can set pyt hon env variable. gyp err! stack @ > failnopython (c:\program files\nodejs\node_modules\npm\nod > e_modules\node-gyp\lib\configure.js:103:14) gyp err! stack @ > c:\program files\nodejs\node_modules\npm\node_modules\node > -gyp\lib\configure.js:64:11 gyp err! stack @ object.oncomplete (fs.js:107:15) gyp err! system windows_nt 6.1.7601 gyp err! command > "node" "c:\\program files\\nodejs\\node_modules\\npm\\node_modu > les\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp err! cwd > c:\users\blabla\appdata\roaming\npm\node_modules\generato > r-mobileangularui\node_modules\slug\node_modules\unicode\node_modules\bufferstre > am\node_modules\buffertools gyp err! node -v v0.10.29 gyp err! > node-gyp -v v0.13.1 gyp err! not ok npm warn optional dep failed, > continuing buffertools@2.1.2 > > > > unicode@0.6.1 postinstall c:\users\blabla\appdata\roaming\npm\node_m odules\generator-mobileangularui\node_modules\slug\node_modules\unicode > > node install.js > > try read file /usr/share/unicode/unicodedata.txt . warning: using > slow naiv buffer.indexof function! `npm install buffertools` speed > things up. /usr/share/unicode/unicodedata.txt not found. try read > file /usr/share/unicode-data/unicodedata.txt . > /usr/share/unicode-data/unicodedata.txt not found. try read file > unicodedata.txt . unicodedata.txt not found. try download . > unicode.org:80/public/unidata/unicodedata.txt > c:\users\blabla\appdata\roaming\npm\gulp -> c:\users\blabla\ > appdata\roaming\npm\node_modules\gulp\bin\gulp.js > c:\users\blabla\appdata\roaming\npm\yo -> c:\users\blabla\ap > pdata\roaming\npm\node_modules\yo\lib\cli.js error while downloading > unicodedata.txt: error: connect econnrefused please download file > manually, put next install.js file , run `node install.js` > again. / > > > > yo@1.4.6 postinstall c:\users\blabla\appdata\roaming\npm\node_module s\yo > > yodoctor > > | yeoman doctor running sanity checks on system > > v global configuration file valid v node_path matches npm root > v no .bowerrc file in home directory v no .yo-rc.json file in home > directory > > looks right! npm err! unicode@0.6.1 postinstall: `node > install.js` npm err! exit status 1 npm err! npm err! failed @ > unicode@0.6.1 postinstall script. npm err! > problem unicode package, npm err! not npm itself. npm > err! tell author fails on system: npm err! node > install.js npm err! can info via: npm err! npm owner > ls unicode npm err! there additional logging output above. > > npm err! system windows_nt 6.1.7601 npm err! command "c:\\program > files\\nodejs\\\\node.exe" "c:\\program files\\nod > ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "bower" "yo" > "gulp" "gen erator-mobileangularui" npm err! cwd c:\users\blabla npm > err! node -v v0.10.29 npm err! npm -v 1.4.14 npm err! code elifecycle > c:\users\blabla\appdata\roaming\npm\bower -> c:\users\blabla > \appdata\roaming\npm\node_modules\bower\bin\bower npm err! npm err! > additional logging details can found in: npm err! > c:\users\blabla\npm-debug.log npm err! not ok code 0
can fix problem??? thanks!
npm warn engine yo@1.4.6: wanted: {"node":">=0.10.0","npm":">=2.1.0"} (current:n{"node":"v0.10.29","npm":"1.4.14"})
that means need update npm. can update npm using following command:
npm install npm -g
you can update node well, it's not mandatory. update node latest version, v0.12.2
:
npm install node -g
Comments
Post a Comment