json-diff icon indicating copy to clipboard operation
json-diff copied to clipboard

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

Open Stevemoretz opened this issue 2 years ago • 4 comments

I get this error, you probably need to revert to this : https://github.com/andreyvit/json-diff/pull/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

Stevemoretz avatar Mar 18 '23 12:03 Stevemoretz

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

Jebasuthan avatar Jul 12 '23 16:07 Jebasuthan

We need to fix this issue

nandu901nandu avatar Jul 23 '23 19:07 nandu901nandu

Urgent need to be addressed

Yuppiezero avatar Sep 24 '23 09:09 Yuppiezero

Need fix for this issue. Any luck on this?

mbi1al95 avatar Oct 06 '23 11:10 mbi1al95