tiny start error :[core-task]: npm run watch 命令执行行失败
初始化项目时,选择tiny init dev , 再输入tiny-toolkit-mytest 然后显示如下成功信息:
接着运行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 (
Node.js v20.12.1 ERROR: "test:unit -- --watch" exited with 1. 2024-04-08 20:27:33 [core-task]: npm run watch 命令执行行失败
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
shang'm 输入tiny start 后, 出现上面的错误,不知道如何解决?
属于 Tiny Cli的问题, 它的仓库地址为: https://github.com/opentiny/tiny-cli/issues
请将该问题转到那里