You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open build/index.html in a browser and see a white page.
Expected Behavior
To have the link to the script not start with a /
I can fix the page by removing the first / from all the url references in the generated index.html. But I don't want to do this every time I do a deployment (I would like to automate it).
Actual Behavior
Reproducible Demo
See steps to reproduce.
The text was updated successfully, but these errors were encountered:
Leejjon
changed the title
Optimized production build has invalid links to scripts
Optimized production build has invalid url references
Jul 22, 2018
Is this a bug report?
Yes
The output from running
npm run build
will result an index.html page that doesn't load the static generated javascript file.Did you try recovering your dependencies?
Yes
Which terms did you search for in User Guide?
I read:
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment
Environment
Steps to Reproduce
git checkout develop
npm install
npm run build
Expected Behavior
To have the link to the script not start with a
/
I can fix the page by removing the first
/
from all the url references in the generated index.html. But I don't want to do this every time I do a deployment (I would like to automate it).Actual Behavior
Reproducible Demo
See steps to reproduce.
The text was updated successfully, but these errors were encountered: