I can't get typescript paths to work for VS Code in an Angular cli project.
If you look at https://github.com/gatimus/multiple-test/blob/master/src/app1/app/app.module.ts#L3 throws
[ts] Cannot find module 'shared/shared.module',
even though path is set in tsconfig.app.json
and settings.json
has the line
"typescript.tsdk": "node_modules/typescript/lib/"
Update:
It seems the apps run but VS Code can't find the module. I have version 1.16.1
git clone
,yarn
,ng serve
. Have no problems running the app. Try to restart yourng serve
.