项目 'uni-ts' 开始编译...
15:11:39.370 /Users/fred/Desktop/Source/3.0/uni-ts/node_modules/cac/dist/index.js:404
15:11:39.371 throw new CACError(Unknown option \
${name.length > 1 ? --${name}
: -${name}
}`); 15:11:39.381 ^ 15:11:39.381 CACError: Unknown option
--watch`
15:11:39.393 at Command.checkUnknownOptions (/Users/fred/Desktop/Source/3.0/uni-ts/node_modules/cac/dist/index.js:404:17)
15:11:39.393 at CAC.runMatchedCommand (/Users/fred/Desktop/Source/3.0/uni-ts/node_modules/cac/dist/index.js:602:13)
15:11:39.410 at CAC.parse (/Users/fred/Desktop/Source/3.0/uni-ts/node_modules/cac/dist/index.js:541:12)
15:11:39.411 at Object.<anonymous> (/Users/fred/Desktop/Source/3.0/uni-ts/node_modules/@dcloudio/vite-plugin-uni/dist/cli/index.js:51:5)
15:11:39.426 at Module._compile (internal/modules/cjs/loader.js:999:30)
15:11:39.426 at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
15:11:39.437 at Module.load (internal/modules/cjs/loader.js:863:32)
15:11:39.447 at Function.Module._load (internal/modules/cjs/loader.js:708:14)
15:11:39.463 at Module.require (internal/modules/cjs/loader.js:887:19)
15:11:39.463 at require (internal/modules/cjs/helpers.js:74:18)
f***@163.com
- 发布:2022-07-12 15:14
- 更新:2022-10-27 18:35
- 阅读:784
vue3 + vite 运行到ios真机上报错 Unknown option `--watch`
分类:HBuilderX
2 个回复
DCloud_UNI_WZF
请参考 提交Bug 模板提供详细信息及可复现 demo,谢谢~
wenqiang
请问这个问题解决了吗?