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

前端 未结 6 544
时光取名叫无心
时光取名叫无心 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:13

    Super cool way to fix / validate the package.json :

    node package.json

    and you have your json validated or the error line.

    Why use jsonlint, sounds pretty lame.

提交回复
热议问题