`useColor` bug
See original GitHub issuehttps://github.com/visionmedia/debug/blob/master/debug.js#L119
which may throw
Uncaught TypeError: exports.useColors is not a function
at createDebug (debug.js:119)
at Object.<anonymous> (url.js:7)
at Object.<anonymous> (url.js:47)
at __webpack_require__ (bootstrap 6dcc159…:583)
at fn (bootstrap 6dcc159…:107)
at Object.<anonymous> (websocket.js:4)
at Object.<anonymous> (websocket.js:98)
at __webpack_require__ (bootstrap 6dcc159…:583)
at fn (bootstrap 6dcc159…:107)
at Object.<anonymous> (transport-list.js:5)
I think that any pr submitted to this module should trigger automatic unit test run before merged in case of potential error.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
`useColor` bug · Issue #371 · debug-js/debug - GitHub
i shimmed the exports.useColors function locally and also had an error thrown complaining that exports.colors was not an array. when both of ...
Read more >36013 - Use color to indicate severity in bug lists
I propose that color be used in bug lists to indicate the severity of a bug. This would make it a lot easier...
Read more >useColorScheme - React Native
The useColorScheme React hook provides and subscribes to color scheme updates from the Appearance module. The return value indicates the ...
Read more >Bug #171170 (sf1437477) “Use color picker to add colors to palet ...
Hello! Having the possibility to add colors to the palette by using the color picker could be very helpful. I think it could...
Read more >The Best Paint Colors To Repel Bugs
Can different paint colors help to repel bugs and other pests this ... Various bugs use color to detect food, mates, or potential...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mmazzarolo I changed my webpack config from:
to
and everything worked again.
https://github.com/visionmedia/debug/issues/384