'rootDir' is expected to contain all source files

后端 未结 3 879
野的像风
野的像风 2020-12-11 14:26

I have an Angular CLI workspace containing two library projects, foo and bar. When I build the second of the two libraries, foo, the b

3条回答
  •  自闭症患者
    2020-12-11 15:06

    the issue is related to import statement where import path is not being provided properly. For example :- import * from '../.././../tools1/tools2/tools/demo'; should be import * from '@tools/tools/demo';

    here @tools is considered as root directory. Note:- above mentioned path is just an example.

提交回复
热议问题