You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
ngx-json-viewer@3.0.2 and @3.1.0 both are giving error when building with env, node v16.15.0 and npm v8.12.2.
When I downgrade the npm to v6.14.17 it works
`
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 200:12-19
Can't import the named export 'NgIf' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 279:10-18
Can't import the named export 'NgModule' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 169:12-30
Can't import the named export 'ɵɵFactoryTarget' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 250:12-30
Can't import the named export 'ɵɵFactoryTarget' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 210:0-27
Can't import the named export 'ɵɵngDeclareClassMetadata' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 273:0-27
Can't import the named export 'ɵɵngDeclareClassMetadata' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 171:45-68
Can't import the named export 'ɵɵngDeclareComponent' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 163:45-66
Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 244:42-63
Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 261:42-64
Can't import the named export 'ɵɵngDeclareInjector' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 252:42-64
Can't import the named export 'ɵɵngDeclareNgModule' from non EcmaScript module (only default export is available)
`
The text was updated successfully, but these errors were encountered:
Hi!
ngx-json-viewer@3.0.2 and @3.1.0 both are giving error when building with env, node v16.15.0 and npm v8.12.2.
When I downgrade the npm to v6.14.17 it works
`
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 200:12-19
Can't import the named export 'NgIf' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 279:10-18
Can't import the named export 'NgModule' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 169:12-30
Can't import the named export 'ɵɵFactoryTarget' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 250:12-30
Can't import the named export 'ɵɵFactoryTarget' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 210:0-27
Can't import the named export 'ɵɵngDeclareClassMetadata' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 273:0-27
Can't import the named export 'ɵɵngDeclareClassMetadata' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 171:45-68
Can't import the named export 'ɵɵngDeclareComponent' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 163:45-66
Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 244:42-63
Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 261:42-64
Can't import the named export 'ɵɵngDeclareInjector' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ngx-json-viewer/fesm2015/ngx-json-viewer.mjs 252:42-64
Can't import the named export 'ɵɵngDeclareNgModule' from non EcmaScript module (only default export is available)
`
The text was updated successfully, but these errors were encountered: