Skip to content

Conversation

viralgupta
Copy link
Contributor

This PR fixes Timeout exceeded issue by using cross-env to inject BROWSER=none env variable while running the neu run command.

Old way BROWSER=none npm start does not work anymore.

Dont wanted to add cross-env to neutralinojs-cli package since all frameworks require different methods to disable browser window, and this is only react specific, therefore made changes in react-src/package.json instead of neutralino.config.json

fixes: #7

@viralgupta viralgupta changed the title Bugfix: (#7) crossenv used to inject env variables Bugfix: crossenv used to inject env variables Mar 4, 2024
Copy link
Contributor

@shalithasuranga shalithasuranga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @viralgupta. This looks great!

@shalithasuranga shalithasuranga merged commit ee90ba1 into codezri:main May 26, 2024
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 this pull request may close these issues.

Timeout exceeded while waiting port 3000
2 participants