关于npm:安装npm报错时Could-not-resolve-dependency-npm-ERR

41次阅读

共计 227 个字符,预计需要花费 1 分钟才能阅读完成。

问题:装置 npm 报错时(Could not resolve dependency:
npm ERR! peer monaco-editor@”^0.33.0″ from react-monaco-editor@0.49.0
/Fix the upstream dependency conflict, or retry
npm ERR! this command with –force, or –legacy-peer-deps)

解决办法:npm install –legacy-peer-deps

正文完
 0