我通过 bash /www/server/nodejs/vhost/scripts/xxx.sh 配置计划任务想着实现重启node项目 然后报以下错误
- npm WARN cli npm v9.6.2 does not support Node.js v16.9.0. You should probably upgrade to a
- npm WARN cli newer version of node as we can't make any promises that npm will work with this
- npm WARN cli version. This version of npm supports the following node versions: `^14.17.0 ||
- npm WARN cli ^16.13.0 || >=18.0.0`. You can find the latest version at https://nodejs.org/.
- npm WARN config init.module Use `--init-module` instead.
- [nitro] [dev] [uncaughtException] Error: listen EADDRINUSE: address already in use :::10056
复制代码 |