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

Issues with npx create-remix@latest on Safari #9437

Open
Torbet opened this issue May 15, 2024 · 0 comments
Open

Issues with npx create-remix@latest on Safari #9437

Torbet opened this issue May 15, 2024 · 0 comments

Comments

@Torbet
Copy link

Torbet commented May 15, 2024

Reproduction

I created a barebones npx create-remix@latest app, run with npm run dev and open in safari.

When I do this, hot reload doesn't work and I get 2 504 (Outdated Optimize Dep) errors in browser console.

Clearing cache fixes the issue, and if I modify some text on the page, hot reload works... for about 2 minutes.

Then, either after some time or if I restart the dev server, they come back and I have to clear my cache again.

If I decide to add a new component to the page, I get 10s of Error: Hydration failed because the initial UI does not match what was rendered on the server., Which I need to clear browser cache for again.

System Info

System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 148.36 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.1.0 - /opt/homebrew/bin/node
    npm: 10.7.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 124.0.6367.207
    Safari: 17.4.1

Used Package Manager

npm

Expected Behavior

Smooth hot reload and no errors on clean install.

Actual Behavior

Hot reload not working and errors in browser console. Hydration error leads to new changes not working at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants