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

前端 未结 6 540
时光取名叫无心
时光取名叫无心 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条回答
  •  清酒与你
    2021-01-05 00:07

    Just to complete the answer, you can simply use an online JSON validator to validate your package.json.
    I highly recommend http://jsonlint.com/, paste your package.json in the textarea and click on the Validate button, that's all!

提交回复
热议问题