使用的IntelliJ IDEA 2016.2我遇到这个错误打字编译打字稿错误编译Aurelia大街与IntelliJ IDEA的
aurelia_project/generators/binding-behavior.ts(2,52): error TS2307: Cannot find module 'aurelia-cli'.
奥里利亚CLI产生奥里利亚项目显然是在为node_modules
本地和全球性的。鉴于该文件甚至编译的路径?也许它应该被忽略?
如果我理解tsconfig和我的想法设置,这些甚至不应该建成
{
"compileOnSave": false,
"compilerOptions": {
"sourceMap": true,
"target": "es5",
"module": "amd",
"declaration": false,
"noImplicitAny": false,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"lib": ["es2015", "dom"]
},
"exclude": [
"node_modules"
],
"filesGlob": [
"./src/**/*.ts",
"./test/**/*.ts",
"./typings/index.d.ts",
"./custom_typings/**/*.d.ts"
],
"atom": {
"rewriteTsconfig": false
}
}
au run --watch
启动正常
我怎样才能解决这个问题,使思想可以建立该项目没有错误?
我可以看看它的ups,但由于这是一个SO问题,我是新的打字稿也许你可以提供所需的JSON? – xenoterracide
更新了包含相关排除部分的答案 – xenoterracide