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

Timeout exceeded when launching neutralino react template #1244

Closed
ChevalMonsieur opened this issue Apr 8, 2024 · 7 comments
Closed

Timeout exceeded when launching neutralino react template #1244

ChevalMonsieur opened this issue Apr 8, 2024 · 7 comments
Labels
bug Something isn't working
Milestone

Comments

@ChevalMonsieur
Copy link

Describe the bug

base port (3000) never sets up while running the neutralino react template for the first time so neutralino react app can't launch itself

To Reproduce
Steps to reproduce the behavior:

create a new neutralino app : neu create myappreact --template codezri/neutralinojs-react
move to app folder : cd myappreact
run application neu run

Expected behavior

The application should launch normally

Screenshots/Screen recordings

image

Specifications

  • OS: Windows 11
  • Neutralinojs version: v5.1.0
  • Neutralinojs client library version: i don't know
  • Neutralinojs CLI version: v11.0.1

Additional context

when changing the base port on the config file, it does change the name of the port on terminal but the error is the same

@ChevalMonsieur ChevalMonsieur added the bug Something isn't working label Apr 8, 2024
@hschneider
Copy link

I can confirm this bug on my system, too (macOS).

This one works out of the box:
https://github.com/JustPilz/neu-react-ts-vite-template

@ChevalMonsieur
Copy link
Author

I tried it on a different OS (ubuntu) but it didn't work either

image

@ChevalMonsieur
Copy link
Author

well now that I'm on ubuntu, the base react neutralino template end up working

@Sadaf-A
Copy link
Contributor

Sadaf-A commented Apr 13, 2024

well now that I'm on ubuntu, the base react neutralino template end up working

It's working in linux mint also could it be possible that your port 3000 is already busy in that machine?

@ChevalMonsieur
Copy link
Author

well now that I'm on ubuntu, the base react neutralino template end up working

It's working in linux mint also could it be possible that your port 3000 is already busy in that machine?

No, I've tried with multiple ports (including random numbers) so it can't be this

@probablyraging
Copy link

To solve this issue, in neutralino.config.json change the following

- 32            "devCommand": "BROWSER=none npm start",
+ 32            "devCommand": "npm start",

@shalithasuranga shalithasuranga added this to the Next milestone May 26, 2024
@shalithasuranga
Copy link
Member

shalithasuranga commented May 26, 2024

Hello. thanks for discussing this issue. This issue won't appear in the latest React template (https://github.com/codezri/neutralinojs-react) and the latest neu CLI version 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants