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

npm start raises #193

Open
LeeCrey opened this issue Feb 7, 2023 · 6 comments
Open

npm start raises #193

LeeCrey opened this issue Feb 7, 2023 · 6 comments

Comments

@LeeCrey
Copy link

LeeCrey commented Feb 7, 2023

/usr/bin/env: ‘node -r esm’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines

@mdleiton
Copy link

node -r esm bin/server --port 3000

@dredshep
Copy link

node -r esm bin/server --port 3000

I get this:

file:///home/username/software/localtunnel-server/bin/server:1
SyntaxError: Error parsing /home/username/software/localtunnel-server/node_modules/localenv/package.json: Unexpected token , in JSON at position 772
    at Module._extensions..js (node:internal/modules/cjs/loader:1280:10) {
  path: '/home/username/software/localtunnel-server/node_modules/localenv/package.json'
}

Node.js v18.14.0

@PwccaCode
Copy link

do npm install esm@3 inside project folder before running node -r esm bin/server --port 3000

@WebKenth
Copy link

WebKenth commented Mar 6, 2024

do npm install esm@3 inside project folder before running node -r esm bin/server --port 3000

Why is this required to run the project?

@SidharthPHariharan
Copy link

npm install esm@3

even developer doesn't know

@PwccaCode
Copy link

do npm install esm@3 inside project folder before running node -r esm bin/server --port 3000

Why is this required to run the project?

go figure

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

6 participants