-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: LRU: key must be a string or number. Almost certainly a bug! #2047
Comments
root@da83d9532a93:/# bower install --allow-root --quiet
root@da83d9532a93:/# node -p process.versions
{ http_parser: '2.5.0',
node: '2.5.0',
v8: '4.2.77.21',
uv: '1.6.1',
zlib: '1.2.8',
ares: '1.10.1-DEV',
modules: '44',
openssl: '1.0.2d' }
root@da83d9532a93:/# node -p process.arch
x64
root@da83d9532a93:/# bower -v
root@da83d9532a93:/# bower install jquery --allow-root --quiet
root@da83d9532a93:/# ls
bin boot bower.json bower_components dev etc home lib lib64 media mnt opt proc root run sbin srv sys tmp usr var @xzyfer I can't reproduce it, can you post your bower.json ? |
Same error is pressent on node version 0.12.5. |
I'm having the same issue with bower 1.6.6 and node 4.2.2. In my case seems like the problem occurs if you set a branch name in some dependency version. Like this:
or
or similar. I also notice that the error occurs just for the first dependency matching this pattern while resolving. Commit hashes works fine here. |
I had the same problem with both Bower 1.6.6 and 1.6.7 on Node 4.2.2 and 5.1.0. Removing the |
I can confirm the fix @Tenzer suggests, on v4.0 but wont fix on v0.12.5. |
I cannot confirm the fix by @Tenzer, I am on bower 1.6.6 and node v4.2.2. |
#2040 would fix this issue |
I've merged the fix and I'm going to release soon. |
bower update |
Thanks, never knew that the command existed. |
This error has returned as of 1.6.6 when running
bower install --allow-root --quiet
.The text was updated successfully, but these errors were encountered: