使用 npm install 时出现 ETARGET 错误,具体版本在 npmjs.org 上不存在
// package.json
{
"devDependencies": {
"@dcloudio/uni-app": "3.0.0-alpha-4050320250224001",
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-4050320250224001",
"@dcloudio/vue-cli-plugin-uni": "3.0.0-alpha-4050320250224001"
}
}
PS E:\20250225已经上线\20250225已经上线> npm install --force
npm warn using --force Recommended protections disabled.
npm error code ETARGET
npm error notarget No matching version found for @dcloudio/vue-cli-plugin-uni@3.0.0-alpha-4050320250224001.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: D:\npm_cache_logs\2025-03-07T00_40_50_226Z-debug-0.log
PS E:\20250225已经上线\20250225已经上线>
请给我一个能够使用的,搭建uniapp 微信小程序,因为使用typescript,所以选择vscode。