pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

[BUG] /bin/bash:1 ^?ELF^B^A^A ^ SyntaxError: Invalid or unexpected token

Open huypvw opened this issue 4 years ago • 9 comments

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

huypvw avatar Jul 08 '20 14:07 huypvw

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.

stale[bot] avatar Aug 07 '20 14:08 stale[bot]

faced the same error .only happens in cluster mode not in fork mode .

samanar avatar Sep 16 '20 14:09 samanar

@samanar hi,Have you solved it

KevinylZhao avatar Sep 28 '20 07:09 KevinylZhao

Same. Any updates on this?

alexsabdev avatar Nov 07 '20 09:11 alexsabdev

Same issue

pavankumar-meesho avatar Mar 31 '22 01:03 pavankumar-meesho

Same issue

Cellularhacker avatar Apr 14 '22 04:04 Cellularhacker

Same issue

iGroza avatar May 02 '22 15:05 iGroza

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

fltfathin avatar Jun 24 '22 13:06 fltfathin

Remove stale tag. This happens all the time.

ChrisVilches avatar Sep 17 '22 15:09 ChrisVilches

Same issue

zimuZhao avatar Feb 13 '23 14:02 zimuZhao