-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Post-install "install.js" failing #1973
Comments
I assume from your description that the reproduction steps are to follow https://kit.svelte.dev/docs#introduction-getting-started. I can't reproduce this in my Ubuntu VM (Ubuntu 21.10):
As you can see it works fine for me. So I'm marking this as |
Hi I tried my hand at debugging this, after testing different versions of node I found that updating to Edit: even though it says in the log file, thought it would be correct to mention I was previously using node |
Were you able to figure out anything about the failure? How far does the install script get before it fails, and what causes the failure? |
No sorry, was not been able to make any meaningful progress. |
I can confirm that updating node to 17.4 fixed this issue for me too. |
I was finally able to reproduce this issue by installing node via snap (more info in #1711) and I pushed out a fix in version 0.14.17. Does the latest esbuild release fix these installation issues for you? |
Hi using node
Tail end of the Log File
|
Shoot. Thanks for checking. My change definitely did fix an issue for me so I guess there were multiple separate issues. |
Wait. That log is saying that
So you just need to somehow make sure you aren't installing Closing as fixed on esbuild's end. |
Good catch! Just double checked this. Using node |
In case it helps anyone else who stumbles on here, you will also see this exact same message if you somehow have npm installed but not node. e.g., In my case, I was testing on a Windows machine under WSL2 where node was installed under Windows but not under the WSL2 Linux VM but the VM could still find npm. |
Ubuntu 20.04.1.
Running
npm install
after a fresh SvelteKit init. Trying to install esbuild globally throws the same error.End of the log file
The text was updated successfully, but these errors were encountered: