Open LeeCrey opened 1 year ago
node -r esm bin/server --port 3000
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
do npm install esm@3 inside project folder before running node -r esm bin/server --port 3000
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?
npm install esm@3
even developer doesn't know
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
/usr/bin/env: ‘node -r esm’: No such file or directory /usr/bin/env: use -[v]S to pass options in shebang lines