我突然得到了这个错误
Module not found: Error: Can't resolve '@angular/flex-layout' in '\src\app'
我安装@ angular / cdk后发生此错误,
在此错误后,我再次安装了flex-layout使用
npm install @angular/flex-layout
但现在有错误
Module not found: Error: Can't resolve '@angular/http' in '\src\app'
如果我安装了一个http,那么其他一些模块就会被遗漏。如何阻止这种情况?出了什么问题?
如果我再次安装@ angular / http,那就开始了
Module not found: Error: Can't resolve '@angular/flex-layout' in '\src\app'
尝试添加对node_modules文件夹的完全读写访问权限
chmod -R 777 /node_modules
然后更新node_modules包
npm install