I have recently changed a project that uses webpack4
that I had on npm
to yarn
but after removing the package-lock.json
, deleting the node_modules
and installing with yarn
I now get this on the browser console after compiling with webpack:
Uncaught ReferenceError: process is not defined
I works fine if I go back to npm