简体   繁体   中英

Bower.io. Installing dependencies

I have the latest version (as of this writing) 1.3.12. I am trying to install dependencies:

bower install

During installation I get an error:

bower ENORESTARGET  No tag found that was able to satisfy ~2.0.3

Additional error details:
No versions found in git://github.com/theshock/atomjs.git

and installation aborted.

How to resolve this problem? Thank

For the people who are still getting this problem on Windows even though they are sure that the packages have correct versions, problem might be caused by the console emulator.

As I found out here from the comment posted by m0n1ker , the problem was caused by ConEmu console emulator. He says:

Ok, I did some debugging and for those that are having issues with ConEmu, the issue is not with bower. Where bower makes the call value = cmd('git', ['ls-remote', '--tags', '--heads', source]).spread(function (stdout) { in GitRemoteResolver.js the stdout variable is getting truncated to 4096 characters. This is a bug in the ConEmuHk DLL.

I am using cmder console emulator and thanks to grafikkaos I was able to solve the problem by disabling Inject ConEmuHk under Settings -> Features -> In-console options . After doing that I can now install/update bower packages without any problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM