webpackwebpack-5

Webpack - Error: Cannot find module 'node:assert'


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?


Solution

  • Please update node.js to latest versions and that should fix the issue for NX projects