stackblitz / bolt.new

Prompt, run, edit, and deploy full-stack web applications
https://bolt.new
MIT License
9.32k stars 3.75k forks source link

npm install is failing : jsh: command not found: vite #3523

Closed satishfactory closed 1 day ago

satishfactory commented 1 day ago

Describe the bug

npm ERR! code ERR_INVALID_PROTOCOL npm ERR! Protocol "https:" not supported. Expected "http:"

npm ERR! A complete log of this run can be found in: /home/.npm/_logs/2024-12-01T23_23_12_749Z-debug-0.log

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-swqyzk

Steps to reproduce

I have just started using app. Gave my first prompt and I am getting this error. The preview isn't available.

Expected behavior

I should be able to see the preview.

Screen Recording / Screenshot

Screenshot 2024-12-01 at 5 27 23 PM

Platform

Browser name = Safari
Full version = 17.5
Major version = 17
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
performance.memory = undefined
Username = SATISHFACTORY
Chat ID = 53268bc14491

Additional context

No response

satishfactory commented 1 day ago
Screenshot 2024-12-01 at 5 31 48 PM
satishfactory commented 1 day ago

I tried this first step using a couple of different alternatives but still failing at the same point. I thought it was probably because I am not a paid user but I am getting the same issue.

satishfactory commented 1 day ago

Issue self resolved - Safari was giving https problem,. worked on another browser.