json-diff
json-diff copied to clipboard
Browser exception when deployed under Nuxt 3
argv is undefined
(has-flag.js:30:28)
Are you checking somewhere to see if this is node or the browser?
Same problem here,
This package is dead ? not maintained @andreyvit ?
@AnthonyRuelle @jcalfee
Sorry to see this issue. Note that json-diff
is maintained, but the error appears to be in colors
package.
True, but I'm not sure the colors
would support the browser. Chromium does not show colors in the console as far as I know. I see now, you have an option { color: false }
already, I think I need to just use that. I'm not setup to test now but that should do the trick. Thanks
Please reopen this issue. With color: false the problem persist :/
In that case, a dynamic import of the colors
(if enabled) may be the way to go.
even setting color: false, the processing crashes
Has anyone managed to resolve this issue?
Same problem here, Has anyone managed to resolve this issue