Open freemanxzx opened 1 month ago
@freemanxzx 你使用的 node 版本是多少?试试用 node16 去安装及执行
用的node 16 @erha19
@freemanxzx 贴一下你本地的 tsconfig.json
文件,这里的报错信息指向的是你本地这个文件不符合 json 格式要求,你可以尝试修改下部分内容看能不能解决这个问题,MacOS 还复现不了这个问题
{ "compilerOptions": { "module": "commonjs", "target": "es2017", "baseUrl": "src", "moduleResolution": "node", "strict": true, "strictPropertyInitialization": false, "sourceMap": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, "importHelpers": true, "resolveJsonModule": true, "noFallthroughCasesInSwitch": true, "forceConsistentCasingInFileNames": true, "downlevelIteration": true, "noEmitOnError": false, "noImplicitAny": false, "skipLibCheck": true, "strictFunctionTypes": false, "jsx": "react", "lib": [ "dom", "esnext", "webworker" ], "typeRoots": [ "./node_modules/@types" ] }, "exclude": [ "./extensions//*", "./workspace/*/", "./hosted//*", "./dist-node//*", "./dist/*/", "./node_modules//*" ] }
@erha19
@freemanxzx 你试一下这个分支代码 https://github.com/opensumi/ide-startup/pull/103
clone的main里的代码
前序操作唯一的异常是yarn的时候有几个插件安装失败