为什么我不能安装 bootstrap-vue



我正试图使用命令npm install bootstrap-vue bootstrap将引导程序vue安装到我的vue项目中,但我遇到了这个神秘的错误

npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN @vue/cli-plugin-typescript@4.5.7 requires a peer of @vue/compiler-sfc@^3.0.0-beta.14 but none is installed. You must install peer dependencies yourself.
npm WARN @vue/cli-service@4.5.7 requires a peer of @vue/compiler-sfc@^3.0.0-beta.14 but none is installed. You must install peer dependencies yourself.
npm WARN jsdom@15.2.1 requires a peer of canvas@^2.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN ws@7.3.1 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.5.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm ERR! path C:UsersroeirOneDriveשולחן העבודהProgramming stuffChatting appchat-clientnode_modules@nuxtopencollectivenode_moduleschalk
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:UsersroeirOneDriveשולחן העבודהProgramming stuffChatting appchat-clientnode_modules@nuxtopencollectivenode_moduleschalk' -> 'C:UsersroeirOneDriveשולחן העבודהProgramming stuffChatting appchat-clientnode_modules@nuxtopencollectivenode_modules.chalk.DELETE'
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:UsersroeirAppDataRoamingnpm-cache_logs2020-11-08T14_54_53_107Z-debug.log

这是我的目录C:UsersroeirOneDriveשולחן העבודהProgramming stuffChatting appchat-client

你尝试过吗:

npm i bootstrap-vue

有同样的问题和这个(在https://www.npmjs.com/package/bootstrap-vue)解决了我的问题。

最新更新