Webpack - Error: Cannot find module 'node:assert'
I tried adding "assert" npm package no luck, any one have any ideas on what is throwing the error?
Please update node.js to latest versions and that should fix the issue for NX projects
Another thing is if you are using typescript like me, then:
npm i @types/node
And make sure the the tsconfig.json doesn't have a custom typeRoots property that ignores the default types in the node_modules folder
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