我按照本教程开始Jira 开发。
我在 Mac 上,所以我完成了这些步骤:在 macOS 上成功安装 Forge。
当我在全球范围内安装 forge 时: npm install -g @forge/cli
我收到此错误:
events.js:291
throw er; // Unhandled 'error' event
^
Error: spawn ts-node ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:470:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
at onErrorNT (internal/child_process.js:470:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn ts-node',
path: 'ts-node',
spawnargs: [
'/Users/soud/.nvm/versions/node/v12.22.6/lib/node_modules/@forge/cli/out/workers/forge-cli-workers.ts',
'{"name":"@forge/cli","checkForUpdate":true,"environment":"prod"}'
]
}