【发布时间】:2021-04-04 21:42:01
【问题描述】:
我尝试卸载 browser-sync,但它根本不起作用。
我已经尝试过多次,并且已经看过这些问题:
我尝试添加 -g,它只是说它是“最新的”...
>npm uninstall browser-sync
npm ERR! code EJSONPARSE
npm ERR! file C:\Users\justi\OneDrive\Documents\GitHub\triangle-calc\package.json
npm ERR! JSON.parse Failed to parse json
npm ERR! JSON.parse Unexpected token } in JSON at position 316 while parsing near '...les.css --watch",
npm ERR! JSON.parse },
npm ERR! JSON.parse "keywords": [],...'
npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\justi\AppData\Roaming\npm-cache\_logs\2020-12-28T01_44_57_830Z-debug.log
>npm uninstall browser-sync -g
up to date in 0.063s
我以前卸载其他任何东西都没有这个问题。我希望在这里发帖的人会很快发现我的愚蠢错误。提前致谢。
【问题讨论】:
标签: npm browser-sync