Since I upgraded Node to version 16, I started noticing this when I build my Angular app.
DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at "...\node_modules\postcss\package.json".
Update this package.json to use a subpath pattern like "./*".
Is there a way to fix this without downgrading the Node version?
I was using node 16 switched back to 14 and it started working.
Solution:
C:\<xampp>\htdocs\<projName>\node_modules\tslib\package.json."./": "./" to "./": "./*".If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With