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

Did not expect server HTML to contain a <div> in <div>. #8773

Closed
qlaffont opened this issue Sep 17, 2019 · 8 comments
Closed

Did not expect server HTML to contain a <div> in <div>. #8773

qlaffont opened this issue Sep 17, 2019 · 8 comments

Comments

@qlaffont
Copy link

qlaffont commented Sep 17, 2019

old issue

@williamli
Copy link
Contributor

@qlaffont just took a quick look at your site, it only has http://localhost:3000/users/signin and there is no http://localhost:3000/users/login

and http://localhost:3000/users/signin loaded fine:

image

@qlaffont
Copy link
Author

@williamli sorry, I didn't update the process but you need to check on "soul" branch ^^". I have update the url too (on initial message):

'http://localhost:3000/users/login'
http://localhost:3000/
http://localhost:3000/404error

@qlaffont
Copy link
Author

As you can see, you can found the error (on "soul" branch or on "master", i have sync branch :) ) :
Capture d’écran 2019-09-19 à 07 28 19

@qlaffont
Copy link
Author

same on index localhost:3000/

Capture d’écran 2019-09-19 à 07 38 53

@nblthree
Copy link
Contributor

nblthree commented Sep 19, 2019

The function that logs this warning is called warnForDeletedHydratableElement it's in react-dom https://github.com/facebook/react/blob/924a305780eb71866eb0932027048237b6f5c3cd/packages/react-dom/src/client/ReactDOMComponent.js#L1210 and it gets executed here https://github.com/facebook/react/blob/924a305780eb71866eb0932027048237b6f5c3cd/packages/react-dom/src/client/ReactDOMHostConfig.js#L769 you may want to ask someone from React core team about it

Related issue: facebook/react#15405

@Timer
Copy link
Member

Timer commented Sep 19, 2019

Closing as this is an application-error and support requests do not belong in our issue tracker. Pretty sure I saw this same thing posted on our Spectrum (the right place).

It seems related to next-i18next, did you try opening a report with them? Also, you seem to not be running your dev server with the next-i18next wrapper.

@deepakvishwakarma-hh
Copy link

please resolve the issue

@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Feb 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants