Missing "./cjs/types/True" specifier in "@uiw/react-json-view" package
Getting this error today , even for v1.12.0
[commonjs--resolver] Missing "./cjs/types/True" specifier in "@uiw/react-json-view" package error during build: Error: Missing "./cjs/types/True" specifier in "@uiw/react-json-view" package
@irom77 Upgrade 2.0.0-alpha.21, You are using API version 2.0.0-alpha.21.
Same error in version 2.0.0-alpha.21
@irom77 You can provide an example that reproduces the error, and I can take a look for free. I'm sure the file exists.
Really appreciate. Right, file exists.. .Maybe I am not using collapsed correctly. I just tried {True} like below Also {1} etc.
<JsonView value={example} collapsed={True} />
How do I use integer instead of false/true, just collapsed={1} ?
Really appreciate. Right, file exists.. .Maybe I am not using
collapsedcorrectly. I just tried {True} like below Also {1} etc.
<JsonView value={example} collapsed={True} />How do I use integer instead of false/true, just
collapsed={1}?
@irom77 You might need an intermediate layer to handle your data, converting specific data from true or false to the desired 1 and 2.