remix icon indicating copy to clipboard operation
remix copied to clipboard

@remix-run/architect - Hydration fails on a new project

Open dbroadhurst opened this issue 3 years ago • 5 comments
trafficstars

What version of Remix are you using?

@remix-run/architect": "^1.7.2",

Steps to Reproduce

npx create-remix@latest

Select Architect (AWS Lambda)

Expected Behavior

Sample page runs without errors.

Actual Behavior

image

Tried Incognito just incase I have an extension issue but same results in Incognito

dbroadhurst avatar Oct 10 '22 16:10 dbroadhurst

Confirmed on my end. One of the main differences is that the LiveReload script doesn't seem to be SSRed.

machour avatar Oct 10 '22 17:10 machour

Same for me

zolzaya avatar Oct 11 '22 00:10 zolzaya

Try adding NODE_ENV=development to your existing or a new .env file.

Explanation can be found in https://github.com/remix-run/remix/issues/1756#issuecomment-1065682371 and the rest of the issue as well!

RobertBroersma avatar Oct 19 '22 11:10 RobertBroersma

@dbroadhurst @zolzaya could you give @RobertBroersma comment a try please?

machour avatar Oct 19 '22 12:10 machour

@machour confirmed adding the NODE_ENV var resolved the issue

dbroadhurst avatar Oct 19 '22 13:10 dbroadhurst

This is probably because one of your browser extensions is injecting code : https://remix.run/pages/gotchas#browser-extensions-injecting-code

MichaelDeBoey avatar Nov 20 '22 21:11 MichaelDeBoey

For me the chrome VPN Express plugin was causing the issues. Thanks @MichaelDeBoey

thebiltheory avatar Feb 16 '23 14:02 thebiltheory