tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

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

Open xingyewuyu opened this issue 1 year ago • 3 comments

初始化项目时,选择tiny init dev , 再输入tiny-toolkit-mytest 然后显示如下成功信息: image 接着运行tiny start后,出现如下错误: E:\biancheng\tiny_project_test\node_modules.store\[email protected]\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\[email protected]\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\[email protected]\node_modules\append-transform\index.js:62:4 at Object. (E:\biancheng\tiny_project_test\node_modules.store\[email protected]\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 命令执行行失败

xingyewuyu avatar Apr 08 '24 12:04 xingyewuyu

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

Issues-translate-bot avatar Apr 08 '24 12:04 Issues-translate-bot

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

xingyewuyu avatar Apr 08 '24 13:04 xingyewuyu

属于 Tiny Cli的问题, 它的仓库地址为: https://github.com/opentiny/tiny-cli/issues
请将该问题转到那里

shenjunjian avatar Aug 01 '24 02:08 shenjunjian