当运行 pm2 start npm -- run dev 报错:
:: Created by npm, please don't edit manually.
解决办法:
pm2 start "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" -- run dev
当运行 pm2 start npm -- run dev 报错:
:: Created by npm, please don't edit manually.
解决办法:
pm2 start "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" -- run dev