Skip to content
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

Bolt.new unable to get past 'npm install && npm start' setups #176

Open
magusonline opened this issue Oct 7, 2024 · 7 comments
Open

Bolt.new unable to get past 'npm install && npm start' setups #176

magusonline opened this issue Oct 7, 2024 · 7 comments
Labels

Comments

@magusonline
Copy link

magusonline commented Oct 7, 2024

Describe the bug

There seems to be issues with Bolt.new setting up dependencies of any kind. They offer "fixes" which essentially loop into various recursion loops of the same problem to "fix" without actually fixing anything.

Link to the Bolt URL that caused the error

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

Steps to reproduce

  1. Click 'fix'
  2. Wait for resolution
  3. Click new 'fix'
  4. Wait for resolution
  5. Click new new 'fix'
  6. Wait for resolution
  7. Click new new new 'fix' (it's actually 3's issue repeated)
  8. Wait for resolution
  9. Click on new new new 'fix' (it's actually 1's issue repeated)

Expected behavior

It should install the dependencies instead of going down an infinite loop.

Screen Recording / Screenshot

No response

Platform

Windows 10
Firefox 131.0

Additional context

No response

@kirjavascript
Copy link
Member

Hi! Thanks for reporting this issue!

We're tracking this issue internally and will let you know when we have a resolution.

@plyght
Copy link

plyght commented Oct 31, 2024

Hi! Thanks for reporting this issue!

We're tracking this issue internally and will let you know when we have a resolution.

@kirjavascript any updates on this?

@kirjavascript
Copy link
Member

We've been trying to improve on this in the background but due to the nature of the problem it's quite difficult to diagnose.

Could you try again from a fresh project, and let us know the prompts you used to get there?

@plyght
Copy link

plyght commented Nov 1, 2024

We've been trying to improve on this in the background but due to the nature of the problem it's quite difficult to diagnose.

Could you try again from a fresh project, and let us know the prompts you used to get there?

@kirjavascript I have tried multiple projects; it mostly only happens when I ask for a portfolio site. It gets stuck right about when it tries to install idealtree builddeps. I think a good solution is to use https://bun.sh/ instead of npm, as it's abhorrently slow.

https://bolt.new/~/sb1-gvnckk
image

@plyght
Copy link

plyght commented Nov 7, 2024

@kirjavascript any updates?

@juancadile
Copy link

I have the same issue. The error says that it's using "https" for some request but only "http" is allowed.

@SuperGooey
Copy link

SuperGooey commented Nov 8, 2024

Same issue here; nothing I make gets past npm install and npm run dev. It tells me:
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/...

And for npm run dev, I get:
`

[email protected] dev
vite
jsh: command not found: vite
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants