You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Unexpected token '?'
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
Same error when i use npx. But, with same method, i installed and use json-server in Rocky Linux 9.
Have an idea ?
Thanks !
The text was updated successfully, but these errors were encountered:
Hi.
I encounter an issue when i launch json-server in Ubuntu 22.04.
I install with NPM
And i have this error :
file:///usr/local/lib/node_modules/json-server/lib/bin.js:32
default: process.env['PORT'] ?? '3000',
^
SyntaxError: Unexpected token '?'
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
Same error when i use npx. But, with same method, i installed and use json-server in Rocky Linux 9.
Have an idea ?
Thanks !
The text was updated successfully, but these errors were encountered: