GithubHelp home page GithubHelp logo

Comments (8)

colesanderson avatar colesanderson commented on May 21, 2024

I am only getting error when runnning ntl dev. No error when running with npm run dev:remix

from kpop-stack.

colesanderson avatar colesanderson commented on May 21, 2024

Screenshot 2023-01-02 at 10 27 57 PM

from kpop-stack.

colesanderson avatar colesanderson commented on May 21, 2024

That is the changes I made:
Screenshot 2023-01-02 at 10 35 16 PM

from kpop-stack.

taty2010 avatar taty2010 commented on May 21, 2024

Hi @colesanderson! Thank you for your patience while we look into this issue.

When following the steps that you outlined, we were able to reproduce the hydration errors and resolve them by doing the steps below:

  1. Delete node_modules file
#2. re-install dependencies
npm install

#3.  Run local build
netlify build

#4. Run dev environment 
netlify dev

After going through those steps the hydration related errors should now be gone.

If for some reason you are still running into this error, instead of just deleting the node_modules you can clean your working directory to remove all un-tracked files. Before running the command please make sure to backup your env file or any other un-tracked files that you would like to preserve.

#1. this will remove everything listed in .gitignore
git clean -dfx 

#2. re-install dependencies
npm install
  1. add your .env file back in with the required env variables for supabase
#4. if you have an existing site already you will use link otherwise you will need to initialize your project
netlify init or netlify link

#5 Run local build
netlify build

#6 Run dev environment
netlify dev

I hope this helps, if the issue still persists please let us know.

from kpop-stack.

colesanderson avatar colesanderson commented on May 21, 2024

@taty2010 Thank you for getting back to me!

I have followed both steps and still getting the same error in the console.log :(

from kpop-stack.

taty2010 avatar taty2010 commented on May 21, 2024

@colesanderson thanks for letting us know, are you able to provide us with a link to the repo with the issue so we can dig into this more?

from kpop-stack.

colesanderson avatar colesanderson commented on May 21, 2024

Hey @taty2010 sorry for late response, there are not much changes in my repo. It will be super helpful if can upgrade kpop stack to React 18 and I can start new project off kpop stack?

from kpop-stack.

colesanderson avatar colesanderson commented on May 21, 2024

That is the changes I pushed.
Screenshot 2023-02-20 at 6 32 18 PM

from kpop-stack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.