PM2 Startup Error with Node and Typescript

If you decide to run PM2 to run your node server and you're using Typescript you can get this error: [PM2][ERROR] Interpreter .nvm/versions/node/v18.11.0/lib/node_modules/pm2/node_modules/.bin/ts-node is NOT AVAILABLE in PATH. (type 'which .nvm/versions/node/v18.11.0/lib/node_modules/pm2/node_modules/.bin/ts-node' to double check.) It can come in many forms but the important part is ts-node is NOT AVAILABLE in PATH. The fix for this …

%d bloggers like this: