How to resolve bower issue: “ENORESTARGET Tag/branch master does not exist”

谁说胖子不能爱 提交于 2019-12-01 03:33:36

if you use cmder or ConEmu (both are simple terminal commander) go to options and uncheck "Inject ConEmuHk" option, your problem will be resolve ...!

more info : main response(in near of last answer)

Be careful ! it can be your command line tool that causes this problem. For me the problem was resolved using ConEmu and the bug was caused by a version of Cmder

This happened to me from within a Jenkins build, and wiping out the workspace did the trick for me.

I had the same problem, and removed the git files as suggested in a previous answer.

NG.

Then I removed bower.json. That fixed the problem.

Fortunately I work in a VM environment and fortunately I took a snapshot before I started deleting stuff (highly recommended practice). So I restored the snapshot and applied the right fix:

  rm bower.json
  bower init

bower init asks a bunch of questions. I pretty much took the defaults. It restored my bower.json dependencies based on what I had already installed in bower_components

Voila!

My unloadable package now loads.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!