rsyjjsn
2023-10-30 14:03:16 +08:00
报错,建议写写单元测试,可以修复很多问题
```
* 正在执行任务: yarn run unmono
yarn run v1.22.19
warning package.json: No license field
$ unmono doc --build
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 1: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 2: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 3: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 4: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 5: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 6: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 7: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 8: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 9: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 10: import: command not found
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 11: syntax error near unexpected token `('
/Users/my/Desktop/demo/node_modules/.bin/unmono: line 11: `const [mode, arg] = process.argv.slice(2);'
error Command failed with exit code 2.
```