四时宝库

程序员的知识宝库

安装css-loader报错“Fix the upstream dependency conflict”怎么办

用npm安装css-loader报错:

55 error Fix the upstream dependency conflict, or retry
55 error this command with --force, or --legacy-peer-deps
55 error to accept an incorrect (and potentially broken) dependency resolution.

根据报错信息中提示的,在npm install --save-dev css-loader命令后添加--legacy-peer-deps即可。

发表评论:

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言
    友情链接