skip to Main Content

React JS: SyntaxError: Unexpected token '?' – Javascript

I created a brand new reactJS application via these instructions, ran npm i && npm run dev and I get: /home/www/node_modules/next/dist/cli/next-dev.js:362 showAll: args["--show-all"] ?? false, ^ SyntaxError: Unexpected token '?' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at…

VIEW QUESTION
Back To Top
Search