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

Headers already sent #104

Closed
DreaMinder opened this issue Jul 11, 2018 · 4 comments
Closed

Headers already sent #104

DreaMinder opened this issue Jul 11, 2018 · 4 comments

Comments

@DreaMinder
Copy link

Version

v4.1.0

Reproduction link

https://odesd2.ua/

Steps to reproduce

  1. Open browser in incognito mode
  2. Open https://odesd2.ua/ which should run redirect to detected browser language - In server nuxt logs "headers already sent" shows up.
  3. Refresh the page with cookie set or enter URL with locale prefix - no error.

What is expected ?

Logs without errors

What is actually happening?

Headers already sent error

Additional comments?

Well, it doesn't affect frontend but makes junk in server logs.

This bug report is available on Nuxt community (#c101)
@ghost ghost added the cmty:bug-report label Jul 11, 2018
@manniL
Copy link
Contributor

manniL commented Aug 1, 2018

Unfortunately, we can't access the server logs. Could you build up a reproduction repo? ☺️

@DreaMinder
Copy link
Author

https://github.com/DreaMinder/nuxt-i18n-repo/

  1. clone, install deps
  2. npm run build
  3. npm start
  4. open localhost:3000 in incognito mode
  5. watch your terminal for errors

@paulgv paulgv closed this as completed in c2ce741 Aug 10, 2018
@paulgv
Copy link
Collaborator

paulgv commented Aug 10, 2018

Hi @DreaMinder
Thanks for providing a repro! This should be fixed in v5.0.3.

@ghost
Copy link

ghost commented Aug 12, 2018

This bug-report has been fixed by @paulgv in release v5.0.3.

@ghost ghost added the cmty:status:fixed label Aug 12, 2018
farnabaz added a commit to farnabaz/i18n-module that referenced this issue Mar 25, 2021
* docs: impove template documentation

* update images

* add link to Nuxt component

* docs: improve images

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
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

No branches or pull requests

3 participants