EMALFORMED error when trying to register bower.json file

后端 未结 3 621
忘了有多久
忘了有多久 2020-12-11 17:36

I\'m having trouble registering my bower.json file at Bower. Any help would be greatly appreciated.

When I try to register my project at Bower using

         


        
3条回答
  •  一个人的身影
    2020-12-11 18:34

    Your bower json file (as visible here: https://raw.github.com/mperdeck/jsnlog.js/2.4.3/bower.json) contains a leading invisible unicode character (likely a BOM).

    This is visible in curl output: curl https://raw.github.com/mperdeck/jsnlog.js/2.4.3/bower.json

    Start your bower.json file over from scratch, and use an editor that doesn't add crap :-).

提交回复
热议问题