小编Mik*_*e P的帖子

Nativescript / TypeScript 错误 - 错误 TS5053:无法使用选项 'inlineSourceMap' 指定选项 'sourceMap'

{
"compilerOptions": {
    "module": "commonjs",
    "target": "es5",
    "sourceMap": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "noEmitHelpers": true,
    "noEmitOnError": true,
    "watch": true
},
"exclude": [
    "node_modules",
    "platforms"
],
"compileOnSave": true
}
Run Code Online (Sandbox Code Playgroud)

上面是我的 tsconfig.json 。我收到一个错误,我不明白为什么我会收到。有什么想法吗?

这是我得到的 vscode 调试控制台中的错误

[NativeScriptCli] execute: tns --version
[NSDebugAdapter] Using tns CLI v2.5.0 on path 'tns'
[NSDebugAdapter] Running tns command...
[NativeScriptCli] execute: tns debug ios --no-client --watch 
[NSDebugAdapter] Watching the tns CLI output to receive a connection token
Executing before-prepare hook from /Users/USERNAME/Projects/Project-tns/hooks/before-prepare/nativescript-dev-sass.js
Executing before-prepare hook from /Users/USERNAME/Projects/Project-tns/hooks/before-prepare/nativescript-dev-typescript.js
Found peer …
Run Code Online (Sandbox Code Playgroud)

typescript nativescript visual-studio-code angular2-nativescript

7
推荐指数
1
解决办法
4366
查看次数