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

npm run production does not show any content in the editor #721

Open
gideonthomas opened this issue Apr 16, 2017 · 2 comments
Open

npm run production does not show any content in the editor #721

gideonthomas opened this issue Apr 16, 2017 · 2 comments
Labels

Comments

@gideonthomas
Copy link

STR:

  1. Run npm run production
  2. Open localhost:8000/dist/hosted.html in a tab.
  3. If you see content in the editor, open DevTools and clear ALL application data (Service Worker registration, IndexedDB, Cache, etc.)
  4. Refresh the page.

You should see something like this:
screen shot 2017-04-16 at 12 28 44 am
The editor itself is not really visible but the preview works fine. This is not an issue for src builds or if you load dist as long as it isn't gzipped. This is an issue only when we gzip the content using npm run production locally. Not an issue on staging.

@humphd
Copy link

humphd commented Apr 20, 2017

I'm pretty sure this is the CSS load ordering bugs @flukeout and I were fixing today. I have one more PR coming that should fix all of it, see #735.

@gideonthomas
Copy link
Author

Hmm npm run production doesn't work at all anymore :P
I think we landed the "localize before we run start" patch after the patch that fixed npm run production and it regressed. The fix sound be to call npm run server vs npm start in the production script.

@gideonthomas gideonthomas self-assigned this Apr 26, 2017
@gideonthomas gideonthomas removed their assignment Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants