vue3项目初始化后执行npm install 报错
vue3项目初始化后(npm init vite),在执行npm install 报错,错误信息如下:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/compiler-dom@3.2.38.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
主要错误原因是因为 @vue/compiler-dom@3.2.38,我也尝试过去单独安装,但是没效果
请问这是什么原因
(怀疑是node问题,卸载重新安装过,但仍存在问题)
相关版本信息:
node:16.17.0
npm : 8.15.0