-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialization failed while loading node modules #450
Comments
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.
The text was updated successfully, but these errors were encountered: