Closed ajlamarc closed 2 years ago
Any idea what your nodejs version is?
node version v12.22.9
, npm version 8.5.1
I ended up building manually from the ts
folder but don't want the next person to hit this same issue
This issue is because option chaining isn’t supported in node.js 13 and below. Node.js 12 reached end of life in 2020, so I’m hesitant to polyfill to fix it…but if the actual template works in node.js 12, then I suppose it makes sense.
Even old Groups (about to be deprecated) is pegged at node 14. https://github.com/urbit/urbit/blob/master/pkg/interface/.nvmrc
It's unfortunate Ubuntu 22.04 is pegged at such an old version; I think for the purpose of this developer experience tool we may have no choice but to support it since Ubuntu LTS is essentially the default environment for many starting developers. Let me fix.
I don't think the latest changes solved the problem :)
I'd document updating node?
npm cache clean -f
sudo npm install -g n
sudo n stable
Did you clear your npx cache?
Did you clear your npx cache?
No, that would probably do it. Thanks!
I tried the following command with and without the
--typescript
flag:$ npx @urbit/create-landscape-app
output: