无法使用 [npm i --save-dev parcel] 安装包裹

Can't install parcel using [npm i --save-dev parcel]

我正在尝试安装 parcel 并使用了官方文档中给出的命令

npm install --save-dev parcel

它输出一些警告说它已被弃用,错误如下。

npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 1
npm ERR! path D:\Courses\Front-End\Workspace\Trainings & Challenges\Jonas Schmedtman-Modern JS\node_modules\lmdb-store
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build
npm ERR! The system cannot find the path specified.
npm ERR! internal/modules/cjs/loader.js:905
npm ERR!   throw err;
npm ERR!   ^
npm ERR!
npm ERR! Error: Cannot find module 'D:\Courses\Front-End\Workspace\node-gyp-build\bin.js'
npm ERR!     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
npm ERR!     at Function.Module._load (internal/modules/cjs/loader.js:746:27)
npm ERR!     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
npm ERR!     at internal/main/run_main_module.js:17:47 {
npm ERR!   code: 'MODULE_NOT_FOUND',
npm ERR!   requireStack: []
npm ERR! }

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Muhammad\AppData\Local\npm-cache\_logs21-12-22T14_51_13_204Z-debug-0.log

截图如下:

最终没有安装包裹。请任何帮助。 我在 Win 11 上使用 VS 代码。

我今天耐心地再次尝试安装 parcel,它成功了。 事实证明,我的地址有一个文件夹,里面有一个符号 &,即使文件夹名称包含一个 space,也会导致问题。奇怪的是其他软件包安装成功没有任何问题。

旧地址:

D:\Courses\Front-End\Workspace\Trainings & Challenges\Jonas Schmedtman-Modern JS

新地址:

D:\Courses\Front-End\Workspace\Trainings Challenges\Jonas Schmedtman-Modern JS