Closed ruradium closed 1 year ago
Perhaps try a newer version of node? We're using v19.2.0
Perhaps try a newer version of node? We're using
v19.2.0
There doesn't seem to be an update available on Linux Mint. Do I need to add some PPA for nodejs?
I ran into the same issue on Linux Mint as well. It worked after updating nodejs to the latest stable version (18.12.1 at the time of writing).
I followed the instructions here. Use n module from npm in order to upgrade node:
sudo npm cache clean -f
sudo npm install -g n
sudo n stable
To upgrade to latest version (and not current stable) version, you can use
sudo n latest
fixed after upgrading to nodejs V18.x
Thanks, adding a note to the readme about the node version.
Not fixed for me, I get this issue on docker, normally on terminal, it would run fine...
Project/riffusion-app/node_modules/next/dist/cli/next-dev.js:315 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 Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object.dev (/home/ray/Project/riffusion-app/node_modules/next/dist/lib/commands.js:10:30) at Object. (/home/ray/Project/riffusion-app/node_modules/next/dist/bin/next:141:28)
at Module._compile (internal/modules/cjs/loader.js:999:30)