node -r esm: No such file or directory #139

Closed
opened 2020-10-28 15:23:13 +00:00 by Neilblaze · 6 comments
Neilblaze commented 2020-10-28 15:23:13 +00:00 (Migrated from github.com)

I am getting this error while running localtunnel on HTTP. Can anyone tell me what can possibly fix this issue?

I am getting this error while running localtunnel on `HTTP`. Can anyone tell me what can possibly fix this issue?
DanieleSalatti commented 2020-10-28 16:09:07 +00:00 (Migrated from github.com)

Try removing the #! line from bin/server and running it with node -r esm ./bin/server.

Let me know if it works...

Try removing the `#!` line from `bin/server` and running it with ` node -r esm ./bin/server`. Let me know if it works...
siburny commented 2020-10-28 21:26:10 +00:00 (Migrated from github.com)
See more info here: https://github.com/localtunnel/server/issues/90
Neilblaze commented 2020-10-29 12:23:22 +00:00 (Migrated from github.com)

@DanieleSalatti Thank you very much! 😃
It worked!

@DanieleSalatti Thank you very much! :smiley: It worked!
DanieleSalatti commented 2020-10-29 17:03:36 +00:00 (Migrated from github.com)

@Neilblaze glad I could help 😀

@Neilblaze glad I could help 😀
zcmgyu commented 2021-01-06 06:42:50 +00:00 (Migrated from github.com)

@DanieleSalatti Thanks. It worked for me. But it just worked on node v10. Version v14 and v15 not work for me.

@DanieleSalatti Thanks. It worked for me. But it just worked on node v10. Version v14 and v15 not work for me.
DanieleSalatti commented 2021-01-06 20:47:21 +00:00 (Migrated from github.com)

Hey @zcmgyu

I am not using localtunnel anymore at the moment. I can try looking into it later on if I have time.

Might be worth opening a new issue with more details on your setup for the maintainer to look into :)

Hey @zcmgyu I am not using localtunnel anymore at the moment. I can try looking into it later on if I have time. Might be worth opening a new issue with more details on your setup for the maintainer to look into :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hoelee/server#139