Builds Don't Work with PostCSS After Update
See original GitHub issueIn Node v17:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in /tmp/workspace/node_modules/postcss-safe-parser/node_modules/postcss/package.json
In earlier versions of Node, this was just a deprecation warning:
Update this package.json to use a subpath pattern like "./*".
Issue Analytics
- State:
- Created 2 years ago
- Reactions:43
- Comments:36
Top Results From Across the Web
Application doesn't run after updating PostCSS to version 8 ...
Looking at the docs about updating plugins for using PostCSS 8.0 it seems that waiting until packages in our projects update to the...
Read more >Install Tailwind CSS using PostCSS
Installing Tailwind CSS as a PostCSS plugin is the most seamless way to integrate it with build tools like webpack, Rollup, Vite, and...
Read more >PostCSS API
PostCSS cleans selectors, declaration values and at-rule parameters from comments and extra spaces, but it stores origin content in raws properties. As such,...
Read more >Bundle Stylesheets and Add LiveReload With Rollup
First, we'll continue working on that project in Part II to add support for stylesheet processing through Rollup, using PostCSS to run some...
Read more >How to add Tailwind into a React project in under a minute
js in your root folder or just copy the following to the terminal. `touch` postcss.config.js. Then, update the file with our installed plugins...
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
Just remove yarn.lock & node_modules & run
yarn
Nuked my node modules and yarn.lock and ran
yarn install
and it worked. Using cra typescript template.