angularjs - Bower Install Error EPERM rename sb-admin theme -
i trying install sb-admin theme on local machine , getting below error.
tried clear cache of bower & npm, reinstalled bower nothing worked.
error:
bower json3#~3.3.1 eperm eperm, rename 'c:\users\vi842397\appdata\local\bower\cache\packages\82636d37515077f172c7d039afaa3315\3.3.2'
stack trace: error: eperm, rename 'c:\users\vi842397\appdata\local\bower\cache\packages\82636d37515077f172c7d039afaa3315\3.3.2' @ error (native)
console trace: error @ standardrenderer.error (c:\users\vi842397\appdata\roaming\npm\node_modules\bower\lib\renderers\standardrenderer.js:82:37) @ logger. (c:\users\vi842397\appdata\roaming\npm\node_modules\bower\bin\bower:110:22) @ logger.emit (events.js:107:17) @ logger.emit (c:\users\vi842397\appdata\roaming\npm\node_modules\bower\node_modules\bower-logger\lib\logger.js:29:39) @ c:\users\vi842397\appdata\roaming\npm\node_modules\bower\lib\commands\index.js:45:20 @ _rejected (c:\users\vi842397\appdata\roaming\npm\node_modules\bower\node_modules\q\q.js:844:24) @ c:\users\vi842397\appdata\roaming\npm\node_modules\bower\node_modules\q\q.js:870:30 @ promise.when (c:\users\vi842397\appdata\roaming\npm\node_modules\bower\node_modules\q\q.js:1122:31) @ promise.promise.promisedispatch (c:\users\vi842397\appdata\roaming\npm\node_modules\bower\node_modules\q\q.js:788:41) @ c:\users\vi842397\appdata\roaming\npm\node_modules\bower\node_modules\q\q.js:604:44 system info: bower version: 1.4.1 node version: 0.12.7 os: windows_nt 6.3.9600 x64
bower.json:
{ "name": "sb-admin", "version": "0.0.0", "dependencies": { "angular": "1.2.16", "json3": "~3.3.1", "es5-shim": "~3.1.0", "angular-resource": "1.2.16", "angular-cookies": "1.2.16", "angular-sanitize": "1.2.16", "angular-animate": "1.2.16", "angular-touch": "1.2.16", "angular-route": "1.2.16", "font-awesome": "4.3.0", "angular-bootstrap": "0.12.0", "oclazyload": "~0.5.2", "angular-loading-bar": "~0.7.0", "angular-ui-router": "~0.2.13", "angular-toggle-switch": "~1.2.1", "metismenu": "~1.1.3", "angular-chart.js": "~0.5.2" }, "devdependencies": { "angular-mocks": "1.2.16", "angular-scenario": "1.2.16" }, "resolutions": { "bootstrap": "~3.1.1" }, "apppath": "app" }
it's mentioned here on bower's issue tracker resolved when user running bower globally. try install bower globally , remove local package using:
npm install -g bower
then try again.
others suggested running command prompt in administrator mode.
Comments
Post a Comment