What needs to change in this package.json file to work with npm 0.3.0?

前端 未结 6 545
时光取名叫无心
时光取名叫无心 2021-01-04 23:33

Trying to use a lib but getting this error...

npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse Note that package.json must be actua         


        
6条回答
  •  -上瘾入骨i
    2021-01-05 00:03

    I have been through this problem and in my case it was just that in place of comma(,). I have used dot(.). You can simply open it up in any JSON validator and it will help you up. One of the JSON validator's link is as follows . http://www.bodurov.com/JsonFormatter/

提交回复
热议问题