opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.44k stars 238 forks source link

tiny start error :[core-task]: npm run watch 命令执行行失败 #1540

Open xingyewuyu opened 3 months ago

xingyewuyu commented 3 months ago

初始化项目时,选择tiny init dev , 再输入tiny-toolkit-mytest 然后显示如下成功信息: image 接着运行tiny start后,出现如下错误: E:\biancheng\tiny_project_test\node_modules.store\append-transform@1.0.0\node_modules\append-transform\index.js:1 TypeError [ERR_INVALID_ARG_TYPE]: The "mod" argument must be an instance of Module. Received an instance of Module at makeRequireFunction (node:internal/modules/helpers:134:11) at Module._compile (node:internal/modules/cjs/loader:1358:19) at Module.replacementCompile (E:\biancheng\tiny_project_test\node_modules.store\append-transform@1.0.0\node_modules\append-transform\index.js:58:13) at Generator.next () at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at E:\biancheng\tiny_project_test\node_modules.store\append-transform@1.0.0\node_modules\append-transform\index.js:62:4 at Object. (E:\biancheng\tiny_project_test\node_modules.store\append-transform@1.0.0\node_modules\append-transform\index.js:62:4) { code: 'ERR_INVALID_ARG_TYPE' }

Node.js v20.12.1 ERROR: "test:unit -- --watch" exited with 1. 2024-04-08 20:27:33 [core-task]: npm run watch 命令执行行失败

Issues-translate-bot commented 3 months ago

Bot detected the issue body's language is not English, translate it automatically.


Title: tiny start error :[core-task]: npm run watch command execution line failed

xingyewuyu commented 3 months ago

image shang'm 输入tiny start 后, 出现上面的错误,不知道如何解决?