1

关于 angular 中依赖包莫名其妙的错误

 1 year ago
source link: https://www.v2ex.com/t/899755
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  问与答

关于 angular 中依赖包莫名其妙的错误

  franklinre · 5 小时 59 分钟前 · 428 次点击

我的 angular 应用本来有 @zxing/ngx-scanner 相关依赖包,之前也一直运行得好好的。 昨天安装了其他依赖包,发现出错,就把代码恢复成以前的状态,可是却运行不了,@zxing/ngx-scanner 相关依赖在报错,npm install 是可以成功的,就是用 ng serve 运行不,说啥参数不匹配。 按道理不是把代码恢复,程序的状态也会恢复吗?为什么还会报错的。这幕后黑手到底是谁?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK