如何解决vscode输出中的此错误?我已经尝试过npm安装



信息:启动进程(凌晨2:00:25(错误:

node:internal/modules/cjs/loader:317
throw e;
^
SyntaxError: Error parsing /Users//package.json: Unexpected token   in JSON at position 121
at parse (<anonymous>)
at readPackage (node:internal/modules/cjs/loader:304:20)
at readPackageScope (node:internal/modules/cjs/loader:329:19)
at shouldUseESMLoader (node:internal/modules/run_main:43:15)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:72:24)
at node:internal/main/run_main_module:17:47 {

共享您的package.json文件。文件中的json数据无效。

相关内容

  • 没有找到相关文章

最新更新