Closed asimpletune closed 2 months ago
Thanks for opening the issue, it's a problem with a dependency that unexpectedly published breaking changes from a Release Candidate. The problem you're seeing is because that dependency now requires Node 18.17 or higher.
We need to update Juice, the CSS inlining library, to handle this since that's where cheerio is used, but until then try adding the overrides
field in your project's package.json
:
{
"private": true,
"scripts": {
"dev": "maizzle serve",
"build": "maizzle build production"
},
+ "overrides": {
+ "cheerio": "1.0.0-rc.12"
+ },
"dependencies": {
"@maizzle/framework": "latest",
"front-matter": "^4.0.2",
"markdown-it-attrs": "^4.1.4",
"shiki": "^0.14.1",
"tailwindcss-box-shadow": "^2.0.0",
"tailwindcss-email-variants": "^2.0.0",
"tailwindcss-mso": "^1.3.0"
}
}
It should install the last version of that dependency that worked on Node <18.
Thanks for the fast reply @cossssmin, that did the trick.
You're welcome, sorry about that it was really unexpected for us too. Working on pinning it in Juice for now until cheerio
make a decision and handle it somehow.
juice@10.0.1
was released to fix this issue with cheerio
, now cheerio@1.0.0-rc.12
should be installed automatically in new projects. Closing as resolved, let me know if you still encounter this issue 👍
Hello, I was interested in getting started with maizle, but I ran into an issue when I was following the guide for using the markdown starter https://maizzle.com/starters/markdown. After
npx maizzle-create
, and following the prompts, I see the following error after runningnpm run dev
(or build).