Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

postcss v8.2.10 results in failed deployment on Vercel, latest version v8.4.27 works #256

Open
CalumMc opened this issue Jul 22, 2023 · 2 comments

Comments

@CalumMc
Copy link

CalumMc commented Jul 22, 2023

Error is 'Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/node' is not defined by "exports" in /vercel/path0/node_modules/postcss/package.json'

Updated the module and works fine.

@DannySu09
Copy link

I happened to have a similar problem. Change the node version from v18 to v16 solved my problem.

@Vinfall
Copy link

Vinfall commented Aug 17, 2023

Changing Node to 16.x in Vercel project settings solves this for me. New build for Node 16.x would be disabled on February 6, 2024 though. Still recommended to update dependencies to clear those warnings in build log.

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

No branches or pull requests

3 participants