【发布时间】:2020-02-09 13:45:15
【问题描述】:
无法解析模块@angular/core中的错误
我创建了 Ionic 应用程序,当我运行它时出现上述错误
我的 tsconfig 如下所示:
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2018",
"dom"
],
"paths": {
"@shared/*": [
"src/app/shared/*"
]
}
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}```
error while running app
【问题讨论】:
标签: node.js angular cordova ionic-framework node-modules