djyde / cusdis

lightweight, privacy-friendly alternative to Disqus.
https://cusdis.com
GNU General Public License v3.0
2.6k stars 224 forks source link

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

Open CalumMc opened 1 year ago

CalumMc commented 1 year ago

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 commented 1 year ago

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

Vinfall commented 1 year ago

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.