Open mightywomble opened 10 months ago
I had the same issue on Ubuntu, the default nodejs version installed by apt is ancient old.
Install version 20 LTS, then everything works
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install v20.13.0
@DmitriiCM Thanks. It works for me!
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
$ source ~/.nvm/nvm.sh
$ nvm install v20.13.0
Getting the following error
file:///usr/local/lib/node_modules/@builder.io/ai-shell/dist/cli.mjs:1079 const value = cliConfig?.[key] ?? config[key]; ^
SyntaxError: Unexpected token '.' at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18) at async link (internal/modules/esm/module_job.js:42:21)