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

preview not work in WebStorm #103

Open
perrywu1989 opened this issue Nov 8, 2023 · 6 comments
Open

preview not work in WebStorm #103

perrywu1989 opened this issue Nov 8, 2023 · 6 comments

Comments

@perrywu1989
Copy link

when i click component preview, it is stucked showing waiting for server...

WebStorm 2023.2.4

@wenerme
Copy link

wenerme commented Dec 15, 2023

Same for WebStorm 2023.3.1

@NTICompass
Copy link

NTICompass commented Mar 4, 2024

I'm using PhpStorm 2023.3.4 and I am seeing this, too.

I am using Vite along with React, and when I try to preview a component, it just says "Waiting for dev server..." and sits there forever.

Accessing http://localhost:5173/ in the browser works just fine.

Does this require any additional setup to work with Vite?

@karol-be
Copy link

karol-be commented May 9, 2024

I can't get the plugin to work with Rider 2024.1.2, on a vite 5.2.11 project as well. Same issue - 'waiting for dev server'.
@web-devel Any chances we could get some help on that?

@djpowell
Copy link

Preview seems to work if you explicitly specify a binding host for the dev server, in vite:
server: { host: '127.0.0.1' }
Is it possible that react buddy is forming an invalid url somewhere if this isn't explictly provided?

@boldwade
Copy link

Preview seems to work if you explicitly specify a binding host for the dev server, in vite: server: { host: '127.0.0.1' } Is it possible that react buddy is forming an invalid url somewhere if this isn't explictly provided?

Works, thanks @djpowell!

@iscomandev
Copy link

Preview seems to work if you explicitly specify a binding host for the dev server, in vite:如果您明确为开发服务器指定绑定主机,则预览似乎可以工作: server: { host: '127.0.0.1' } Is it possible that react buddy is forming an invalid url somewhere if this isn't explictly provided?如果没有明确提供,React buddy 是否可能在某处形成无效的 url?

It works for me , Thanks.

My environment is macos 14.5 , WebStorm 2024.2.3, React Buddy 242.20224.155

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

No branches or pull requests

7 participants