Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DeprecationWarning on @nuxt/postcss8 #15

Open
bkintanar opened this issue May 26, 2021 · 2 comments
Open

DeprecationWarning on @nuxt/postcss8 #15

bkintanar opened this issue May 26, 2021 · 2 comments

Comments

@bkintanar
Copy link

 ERROR  (node:34262) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /node_modules/@nuxt/postcss8/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".

Related with postcss/postcss#1455

And fixed in the latest postcss: postcss/postcss#1455 (comment)

Resolution would be to update @nuxt/postcss8 to the latest postcss version.

@pi0
Copy link
Member

pi0 commented May 26, 2021

Hi @bkintanar i will update minimum version but i guess recreation of lock file or yarn upgrade @nuxt/postcss8 should also do the trick :)

@bkintanar
Copy link
Author

@pi0 looks like you are right. removing yarn.lock fixed it. I guess what I removed was package-lock.json which shouldn't be there in the first place. Thanks for updating the minimum version. 👍

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants