Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Npm install error unlock bower #266

Closed
pasx opened this issue Apr 13, 2015 · 1 comment
Closed

Npm install error unlock bower #266

pasx opened this issue Apr 13, 2015 · 1 comment

Comments

@pasx
Copy link

pasx commented Apr 13, 2015

Here is what I get trying to install on Linux Mint 16 64bits
...
60 silly lockFile 7c83895e-bower-1-3-1 bower@^1.3.1
61 error Error: Attempt to unlock bower@^1.3.1, which hasn't been locked
61 error at unlock (/usr/local/lib/node_modules/npm/lib/utils/locker.js:44:11)
61 error at cb (/usr/local/lib/node_modules/npm/lib/cache/add-named.js:32:5)
61 error at /usr/local/lib/node_modules/npm/lib/cache/add-named.js:41:20
61 error at /usr/local/lib/node_modules/npm/lib/utils/locker.js:30:7
61 error at cb (/usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:149:38)
61 error at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:177:38
61 error at Object.oncomplete (fs.js:107:15)
62 error If you need help, you may report this entire log,
62 error including the npm and node versions, at:
62 error http://github.com/npm/npm/issues
63 error System Linux 3.11.0-12-generic
64 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install"

Just followed instructions on https://github.com/angular/angular-seed

And I know it is pretty dumb but just in case someone else runs into this, this sentence:

"We get the angular code via bower, a client-side code package manager"

Actually means: "Go ahead and install bower..."

@gkalpak
Copy link
Member

gkalpak commented Jun 18, 2016

Actually, you don't need to install bower manually (or globally).
It will be installed (locally) and run automatically, whenever you run npm install.

(Maybe things were different back then, when this issue was opened.)

@gkalpak gkalpak closed this as completed Jun 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants