每次都有
- 发布:2023-12-14 17:25
- 更新:2024-09-21 18:05
- 阅读:600
产品分类: uniapp/小程序/微信
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 15-inch, 2018
HBuilderX类型: 正式
HBuilderX版本号: 3.98
第三方开发者工具版本号: 1.06.2312061
基础库版本号: 3.2.3
项目创建方式: HBuilderX
操作步骤:
预期结果:
正常升级
正常升级
实际结果:
/Users/liujiayu/.npm/_npx/95520/lib/node_modules/@dcloudio/uvm/lib/project.js:29
throw new Error('Invalid project: ' + projectPath)
/Users/liujiayu/.npm/_npx/95520/lib/node_modules/@dcloudio/uvm/lib/project.js:29
throw new Error('Invalid project: ' + projectPath)
bug描述:
npx @dcloudio/uvm@latest alpha
报错
/Users/liujiayu/.npm/_npx/95520/lib/node_modules/@dcloudio/uvm/lib/project.js:29
throw new Error('Invalid project: ' + projectPath)
DCloud_UNI_OttoJi - 日常回复 uni-app/x 问题,如果艾特我没看到,请主动私信
布了新的版本,请重新执行 npx @dcloudio/uvm@latest,如果有问题请继续沟通
-
我 也遇到这个问题了:
npx @dcloudio/uvm@latest
/Users/andy/.npm/_npx/725dad05f6f22981/node_modules/@dcloudio/uvm/lib/project.js:29
throw new Error('Invalid project: ' + projectPath)
^
Error: Invalid project: /Users/andy/Desktop/sass/national_marketing_xcx
at info (/Users/andy/.npm/_npx/725dad05f6f22981/node_modules/@dcloudio/uvm/lib/project.js:29:11)
at start (/Users/andy/.npm/_npx/725dad05f6f22981/node_modules/@dcloudio/uvm/bin/index.js:14:27)
at Object.<anonymous> (/Users/andy/.npm/_npx/725dad05f6f22981/node_modules/@dcloudio/uvm/bin/index.js:30:1)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:472024-01-12 10:36
-
回复 h***@vip.qq.com: 现在还有这个问题的话,你贴一下你的 package,json 里的 Uni-app 当前的版本,我试试能不能复现,添加 latest 标签了是吧
2024-01-12 10:38
-
回复 DCloud_UNI_OttoJi: 我也遇到了这个问题,"@dcloudio/uni-app": "3.0.0-4020320240708001"
2024-07-15 13:32
请问是怎么解决的,我也遇到了这个问题
-
PS C:\Users\xzz\Desktop\xyzs-9\src> npx @dcloudio/uvm@latest
D:\nodejs\node_cache_npx\725dad05f6f22981\node_modules\@dcloudio\uvm\lib\project.js:29
throw new Error('Invalid project: ' + projectPath)
^
Error: Invalid project: C:\Users\xzz\Desktop\xyzs-9\src
at info (D:\nodejs\node_cache_npx\725dad05f6f22981\node_modules\@dcloudio\uvm\lib\project.js:29:11)
at start (D:\nodejs\node_cache_npx\725dad05f6f22981\node_modules\@dcloudio\uvm\bin\index.js:14:27)
at Object.<anonymous> (D:\nodejs\node_cache_npx\725dad05f6f22981\node_modules\@dcloudio\uvm\bin\index.js:30:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49
Node.js v20.10.0
我的报错是这样的2024-09-21 18:06
DCloud_UNI_OttoJi
布了新的版本,请重新执行 npx @dcloudio/uvm@latest,如果有问题请继续沟通
2023-12-18 22:01