Closed OClement closed 6 years ago
Would you share your tsconfig.json
?
I've taken a look at #27
Not sure it relates to the issue I'm experiencing, at least based on the error I get
I tried removing/changing the excludes
properties but it didn't help
ts-config.json
{
"compileOnSave": false,
"baseUrl": "./",
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"removeComments": true,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"lib": [
"es2016",
"dom"
],
"typeRoots": [
"./node_modules/@types"
]
}
}
ts-config.app.json
{
"extends": "../tsconfig.json",
"compilerOptions": {
"lib": [
"es6",
"es2016",
"dom"
],
"mapRoot": "./",
"module": "es2015",
"moduleResolution": "node",
"outDir": "../dist/out-tsc/app",
"sourceMap": true,
"target": "es5"
},
"exclude": [
"node_modules",
"test.ts",
"wallabyTest.js",
"**/*.spec.ts"
]
}
It will be helpful if you share a minimum example so I can reproduce the issue. Not sure if I can help otherwise :(
Hmm ok I’ll check if I manage to repel it in a simpler project when I have a « few » minutes
Thanks
Le 15 janv. 2018 à 18:43, Minko Gechev notifications@github.com a écrit :
It will be helpful if you share a minimum example so I can reproduce the issue. Not sure if I can help otherwise :(
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
@mgechev Hi there, Looks like the issue I'm experiencing is tied to the fact I have a lazy loaded module By removing lazy loading I could load the project properly
Is it something you're supposed to support already?
Lazy loading modules are supported, here's an example.
Hmmm interesting
I must have something else in that module causing the issue Will try to isolate it and report back if/when I find it
Le 18 janv. 2018 à 12:37, Minko Gechev notifications@github.com a écrit :
Lazy loading modules are supported, here's an example.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
@OClement see #33 you may have a similar problem
@MichalMaM Yep that's exactly it, thanks!
Good catch; I guess we can close this
Hi,
wanted to try this app with my project but I'm getting this error:
Project is AOT compatible (buildable through --aot and ngc)
Deps: