-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pm2 with pnpm bug #5416
Comments
Plus it has a lot of more issues with pnpm if you install pm2 with pnpm and can run an app if you use __dirname of esmodules the path is the pm2 path of pnpm XD |
Were you able to find a fix for this issue? |
No |
it's probably because you installed pnpm by homebrew。 or just install pnpm by npm globally |
Thats incorrect, i installed pnpm by npm globally |
Any update? |
|
Also happening for me:
|
I was able to get around this issue by calling a script that runs the needed commands $ pm2 start ~/launchers/strapi.sh which ran this simple script #!/bin/bash
cd ~/code/strapi-demo
pnpm develop For reference, I had installed |
wow |
if you have
or in your
|
What's going wrong?
When using pm2 with pnpm an error ocurrs
How could we reproduce this issue?
Just install pnpm https://pnpm.io/
And start an app with pnpm
pm2 start pnpm -- run start
Supporting information
The text was updated successfully, but these errors were encountered: