andreyvit/json-diff

Can't resolve 'os' in '/node_modules/colors/lib/system'

Stevemoretz opened this issue · 4 comments

I get this error, you probably need to revert to this : #108 or something better

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }

webpack compiled with 1 error

Any update on the issue. Still I am getting above error?

We need to fix this issue

Urgent need to be addressed

Need fix for this issue. Any luck on this?