Can't resolve 'os' in '/node_modules/colors/lib/system'
Stevemoretz opened this issue · 4 comments
Stevemoretz commented
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
Jebasuthan commented
Any update on the issue. Still I am getting above error?
nandu901nandu commented
We need to fix this issue
Yuppiezero commented
Urgent need to be addressed
mbi1al95 commented
Need fix for this issue. Any luck on this?