美文网首页
npm install --save @wangeditor/e

npm install --save @wangeditor/e

作者: Rinaloving | 来源:发表于2024-05-22 15:31 被阅读0次

错误明细

PS D:\项目\2023年\front> npm install --save @wangeditor/editor @wangeditor/editor/dist/css/style.css
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\项目\2023年\front\@wangeditor\editor\dist\css\style.css/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'D:\项目\2023年\front\@wangeditor\editor\dist\css\style.css\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\cfl19\AppData\Local\npm-cache\_logs\2024-05-23T06_18_56_774Z-debug-0.log
PS D:\项目\2023年\front> npm install --save @wangeditor/editor
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: jnpf-web@3.4.6
npm ERR!   vue@"2.6.10" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^2.6.14" from @wangeditor/editor-for-vue@1.0.2
npm ERR! node_modules/@wangeditor/editor-for-vue
npm ERR!   @wangeditor/editor-for-vue@"^1.0.2" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\cfl19\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\cfl19\AppData\Local\npm-cache\_logs\2024-05-23T06_20_14_506Z-debug-0.log

解决

npm install --legacy-peer-deps --save @wangeditor/editor

相关文章

网友评论

      本文标题:npm install --save @wangeditor/e

      本文链接:https://www.haomeiwen.com/subject/gaszfjtx.html