Comments (12)
The latest update in tailwindcss broke it downgrade it to 3.0.23
from nextjs-wordpress-starter.
I have the same problem. Did you find a solution ?
from nextjs-wordpress-starter.
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.
react and react-dom 18 returns that error, using react 17 solves the issue.
from nextjs-wordpress-starter.
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.
@sloyer Yes, that is it! Thanks a lot 😄
from nextjs-wordpress-starter.
I left the project after trying hard do make it up but fail :(
from nextjs-wordpress-starter.
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.
Downgrading tailwindcss to 3.0.23 and running npm i --legacy-peer-deps does not fix this issue.
from nextjs-wordpress-starter.
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.
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.
Since I do not (and will not) work with this project anymore closing this.
from nextjs-wordpress-starter.
Related Issues (20)
- GetStaticPaths should not be fetching 10,000 nodes HOT 1
- WP GraphQL Gutenberg HOT 3
- Spacer Block Error
- This is just an optimization
- (Can be my local env) but documenting the issue HOT 2
- Libraries Upgrade to React 18
- Performance Issue: Potentially making the theme useless in a production setting HOT 1
- CPT: Expected type IvIdType, found SLUG
- wp-graphql-gutenberg plugin is broken
- WDS Headless Blocks plugin breaks Gutenberg editor HOT 2
- composer json is not ownloading
- TypeError: Cannot set properties of undefined (setting 'parent') HOT 1
- Error when activating WDS plugins HOT 3
- TypeError: Cannot set properties of undefined (setting 'parent') HOT 5
- Gallery and other core gutenberg blocks broken because of 'innerBlocks'
- TypeError: validateThemeColors is not a function
- Plugins Activations & Block Display Errors HOT 1
- Node-based script required for redirection
- code 127.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-wordpress-starter.