andbridge
andbridge
oh ,on,how can we used pm2 start a project with the ecosystem.config.js.
我也遇到了同样的问题,我看了上面的解决方式,发现运行的模式是fork,并且我想知道如何通过ecosystem.config.js进行运行一个项目,我已经更新到pm2最新版本,并且尝试着去运行这样一行命令,pm2 start ecosystem.config.js,我的cmd窗口出现了正常的运行界面如下图:  但是我的错误日志里却有着这样的报错: `You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection: Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the...
> Added `"type": "module"` in package.json of my node and that caused this error. > > Was able to get it fixed by renaming `ecosystem.config.js` to `ecosystem.config.cjs`, cjs file extension...
确实,画布也没办法缩放,拖动节点也会闪现