Closed DavidDTA closed 10 months ago
It looks like the most recent version of node available via the ubuntu package manager on 22.0.4 may be quite old, and I expect that may be it. I'll try re-installing node with nvm to see if I can get a more recent version.
It might be worth specifying the npm/node version requirements in the getting started guide.
Yeah, even Node 16 is already end of life. Basically the intention is to support whatever the Node EOL schedule is: https://nodejs.org/en/about/previous-releases.
I would welcome a PR to add something about that to the docs somewhere.
I had made the apparently erroneous assumption that the LTS version of Ubuntu would provide the LTS version of node. Using node 20.11.0 via nvm seems to have worked.
Yeah, that is surprising that it's such an outdated one.
Following the instructions in the Getting Started section of the docs, I ran
npx elm-pages init my-project
, and it failed with the following error:I am not an expert in node/npm, but it looks like it's not correctly interpreting the syntax of one of the packages used in the package loader.
Here are some diagnostics. Let me know if anything else would be relevant.