Giter Site home page Giter Site logo

Comments (12)

sloyer avatar sloyer commented on June 2, 2024 5

The latest update in tailwindcss broke it downgrade it to 3.0.23

from nextjs-wordpress-starter.

paulpichot avatar paulpichot commented on June 2, 2024 1

I have the same problem. Did you find a solution ?

from nextjs-wordpress-starter.

DimitriMichel avatar DimitriMichel commented on June 2, 2024

Make sure you're using npm and not yarn to install and run as mentioned here in the docs.

What I would try to do is delete .node-modules
and run this in your terminal

npm i --legacy-peer-deps
then
npm run dev

Hopefully that works for you.

from nextjs-wordpress-starter.

emilse-webdev avatar emilse-webdev commented on June 2, 2024

react and react-dom 18 returns that error, using react 17 solves the issue.

from nextjs-wordpress-starter.

ferremek avatar ferremek commented on June 2, 2024

Hi guys, did you figure out how to fix this error?

I have followed the official docs twice now and both times get this error.

  • I have node v16.15.0 and npm 8.5.5
  • I have the same package.json file as the main repo and it uses react and react-dom v17.0.2
  • I have installed npm with npm i --legacy-peer-deps

from nextjs-wordpress-starter.

ferremek avatar ferremek commented on June 2, 2024

@sloyer Yes, that is it! Thanks a lot 😄

from nextjs-wordpress-starter.

kodcuserkan avatar kodcuserkan commented on June 2, 2024

I left the project after trying hard do make it up but fail :(

from nextjs-wordpress-starter.

mrEckendonk avatar mrEckendonk commented on June 2, 2024

opened a new issue, #1059, and closed it referring to this

downgrading tailwind to 3.0.23 did not fix this issue

from nextjs-wordpress-starter.

apatwary12 avatar apatwary12 commented on June 2, 2024

Downgrading tailwindcss to 3.0.23 and running npm i --legacy-peer-deps does not fix this issue.

from nextjs-wordpress-starter.

mrEckendonk avatar mrEckendonk commented on June 2, 2024

This issue can temporarily be resolved by using the correct branch with the hotfix suggested by @itsamoreh
Downgrading tailwind to 3.0.23 won't fix due to [dependabot[bot] updates on the main branch.

Follow these steps:

git clone [email protected]:WebDevStudios/nextjs-wordpress-starter.git
cd nextjs-wordpress-starter
git branch fix/downgrade-tailwindcss
npm i 

** follow instructions to set up back & frontend.

npm run dev

Have fun

from nextjs-wordpress-starter.

adam-ainsworth avatar adam-ainsworth commented on June 2, 2024

I've been battling with this error too, but I found that using Node 16, downgrading react and react-dom to 16.14.0 and tailwindcss to 3.0.22 I was able to get it to build.

It's not sustainable but it'll do the job for a while.

WDS should either update the project or take down this tutorial if it's no longer supported.

from nextjs-wordpress-starter.

kodcuserkan avatar kodcuserkan commented on June 2, 2024

Since I do not (and will not) work with this project anymore closing this.

from nextjs-wordpress-starter.

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.