初始化项目时,选择tiny init dev , 再输入tiny-toolkit-mytest 然后显示如下成功信息:
接着运行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 命令执行行失败
初始化项目时,选择tiny init dev , 再输入tiny-toolkit-mytest 然后显示如下成功信息: 接着运行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 命令执行行失败