Upgrade postcss-nesting dependency version for Node 17+ support
See original GitHub issueVersion
@nuxtjs/tailwindcss: v4.2.1 nuxt: v2.15.8 node: v17.0.1
Steps to reproduce
Try to install @nuxtjs/tailwindcss
in a plain nuxt project:
$ yarn add @nuxtjs/tailwindcss
yarn add v1.22.17
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error postcss-nesting@8.0.1: The engine "node" is incompatible with this module. Expected version "12 - 16". Got "17.0.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
What is Expected?
@nuxtjs/tailwindcss
should install latest postcss-nesting@9.0.1
version where this issue has been fixed. In both postcss-nesting 8.0.1 and 9.0.0, Node version was limited to 12-16, not supporting latest Node 17+ versions. This has been fixed in https://github.com/csstools/postcss-nesting/issues/87 postcss-nesting 9.0.1
suggested change in package.json
:
- "postcss-nesting": "^8.0.1",
+ "postcss-nesting": "^9.0.1",
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:10
Top Results From Across the Web
Upgrade postcss-nesting dependency version for Node 17+ ...
Try to install @nuxtjs/tailwindcss in a plain nuxt project: $ yarn add @nuxtjs/tailwindcss yarn add v1.22.17 [1/4] Resolving packages...
Read more >postcss-nesting - npm
Nest rules inside each other in CSS. Latest version: 10.2.0, last published: 3 months ago. Start using postcss-nesting in your project by ...
Read more >postcss | Yarn - Package Manager
PostCSS is a tool for transforming styles with JS plugins. These plugins can lint your CSS, support variables and mixins, transpile future CSS...
Read more >Upgrade Guide - Next.js
v13 Summary · The Supported Browsers have been changed to drop Internet Explorer and target modern browsers. · The minimum Node. · The...
Read more >Advanced package manager features for npm, Yarn, and pnpm
pnpm stores dependencies in a nested node_modules folder, like npm, ... Then, you can also update npm itself to the most recent version....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is still happening and a new version of
postcss-nesting
has been released10.0.2
PR open here as well https://github.com/nuxt-community/tailwindcss-module/pull/397
Happy New Year! Can #397 be merged anytime soon?