node.js - how to avoid error during bower installation? -


i trying install bower in windows 7:

npm install bower -g 

it returns error:

error error: no compatible version found: bower-endpoint-parser@'^0.2.2' 1073 error valid install targets: 1073 error ["0.1.0-rc.1","0.1.0","0.2.0","0.2.1","0.2.2"] 1073 error     @ installtargetserror (c:\users\myname\node-0.10.4\node-0.10.4\node_modules\npm\lib\cache.js:685:10) 1073 error     @ c:\users\myname\node-0.10.4\node-0.10.4\node_modules\npm\lib\cache.js:607:10 1073 error     @ saved (c:\users\myname\node-0.10.4\node-0.10.4\node_modules\npm\node_modules\npm-registry-client\lib\get.js:138:7) 1073 error     @ object.oncomplete (fs.js:107:15) 1074 error if need help, may report log at: 1074 error     <http://github.com/isaacs/npm/issues> 1074 error or email to: 1074 error     <npm-@googlegroups.com> 1075 error system windows_nt 6.1.7601 1076 error command "c:\\users\\myname\\node-0.10.4\\node-0.10.4\\\\node.exe" "c:\\users\\myname\\node-0.10.4\\node-0.10.4\\node_modules\\npm\\bin\\npm-cli.js" "install" "bower" 1077 error cwd c:\users\myname\bowerjs 1078 error node -v v0.10.4 1079 error npm -v 1.2.18 

you have pretty old version of npm (1.2). npm notoriously has problems windows, e.g. because of long file paths not allowed on windows.

first try cleaning cache , retrying npm -g cache clean , update npm before other steps


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -