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

Frontend Dev wait for on different port #223

Closed
thorin8k opened this issue Nov 14, 2023 · 3 comments
Closed

Frontend Dev wait for on different port #223

thorin8k opened this issue Nov 14, 2023 · 3 comments

Comments

@thorin8k
Copy link

I've been having problems with developing since the latest changes in the devCommand and frontendDev.

My problem is i'm not running the frontend in the port 3000 and even if i set a customized devUrl the system is trying to use the port 3000.

I've found that in the frontendlib.js file, the wait code is as follows:
image

As you see, the port variable is not used correctly.

@shalithasuranga
Copy link
Member

Hello @thorin8k, thanks for posting this. If you don't use a frontend library, I think you can get your app working properly if you remove the cli.frontendLibrary section from the configuration :)

Please check and let us know 🎉

@thorin8k
Copy link
Author

thorin8k commented Nov 20, 2023

The way that i made it work was by changing my frontend dev environment to the port 3000.

I think that this is the only solution because the port is hardcoded in the frontendLib of the client.

Anyway, thanks, i've just posted it to let you know for future releases 😄

@shalithasuranga
Copy link
Member

Closing this since it was fixed by #226. Thanks for reporting this 🎉

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

Successfully merging a pull request may close this issue.

2 participants