ng-toolkit: The file fileName does not exist.
I’m using angular cli 6.0.0. The file (./src/app/@app/app.component.ts) does not exist.
my tsconfig.json
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2017",
"dom"
],
"baseUrl": "src",
"paths": {
"@app/*": ["app/*"],
"@root/*": ["./*"]
}
}
}
How to fix?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (8 by maintainers)
I have the same issue. When I run
ng add @ng-toolkit/universal
it saysIn tsconfig.json i have:
"paths": { "@app/*": [ "src/app/*" ] }
Same Issue:
@maciejtreder How to solve this?