Missing *.ts files (due to `npm link` ?)

后端 未结 4 2308
梦毁少年i
梦毁少年i 2020-12-31 08:22

I have this import statement in an Angular5 project:

import {plugins, SCECodeGenType} from \'sce-plugins/code-generation\';

this resolves t

4条回答
  •  天命终不由人
    2020-12-31 08:52

    I was having the same issue while migrating my app from Angular 5 to 6, fix I have applied:

    Added entry of missing file in includes array of tsconfig.app.json(ATTENTION: filename is not tsconfig.json)

    Also, make sure that the path you missing file you mention is relative to the tsconfig.app.json

提交回复
热议问题