pm2
pm2 copied to clipboard
[BUG] /bin/bash:1 ^?ELF^B^A^A ^ SyntaxError: Invalid or unexpected token
I have a trouble with latest version when deploy or start app:
/bin/bash:1 ^?ELF^B^A^A ^
SyntaxError: Invalid or unexpected token
at wrapSafe (internal/modules/cjs/loader.js:1054:16)
...
I downgrade to ver: 4.2.1 and dont have any error
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
faced the same error .only happens in cluster mode not in fork mode .
@samanar hi,Have you solved it
Same. Any updates on this?
Same issue
Same issue
Same issue
it seems that cluster mode can only run "raw" js for nodejs script, so you cannot pass executables as part of the script, for example in nest you add "dist/main.js" as script
Remove stale
tag. This happens all the time.
Same issue