Skip to content
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

/usr/bin/env: ‘node -r esm’: No such file or directory #2

Open
sousaakira opened this issue Aug 15, 2018 · 3 comments
Open

/usr/bin/env: ‘node -r esm’: No such file or directory #2

sousaakira opened this issue Aug 15, 2018 · 3 comments

Comments

@sousaakira
Copy link

sousaakira commented Aug 15, 2018

After installing when I try to start the application I have this message

/usr/bin/env: ‘node -r esm’: No such file or directory

my OS is Ubuntu 18.04

@uditjuneja
Copy link

One way is to use the docker container. Or you can change the path from "/usr/bin/env" to place where your node is installed ("which node").

@krynble
Copy link

krynble commented Oct 27, 2020

Some people are also reporting this issue here: localtunnel/server#90
Seems like running with node -r esm ./bin/server instead of npm run start works for a few cases.

@Ahmed-Refaat
Copy link

replace node -r esm ./bin/server with -S node -r esm ./bin/server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants