-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
"Cannot GET /index.html" on fresh install #3642
Comments
I solved the issue by running
After those commands the webapp started as normal. |
Try making the following changes:
Honestly I changed so much stuff I'm not sure that those commands were the solution to the problem... |
I successfully launched my project thanks to the answer |
Getting the same issue as @CaptainJack-Git and @TheLionWithATie those changes unfortunately did not resolve it. I'm on Windows 11 in this case. |
Actually @TheLionWithATie just doing |
|
Worked for me downgrading electron on package.json
And then removing node_nodules, package-lock.json and then reinstalling with
Just not sure what I missing running this downgraded version 🤔 |
Removing the content of browserslist in package.json also worked, and it keeps the electron version.
|
This also occurs when installing a new module. By the way, the title should be updated to: BrowserslistError: Unknown version x.x.x of Electron for others to reference. Remove |
Prerequisites
main
branchDEBUG_PROD=true npm run build && npm start
Expected Behavior
After cloning the repo, installing the dependencies with "npm i" and running the application with "npm run start" the default page should have happeared in the .
Current Behavior
In the terminal I get the following error:
And in the process window is displayed the text "Cannot GET /index.html", since the call to get the file fails:
Steps to Reproduce
stacktrace:
Your Environment
The text was updated successfully, but these errors were encountered: