NG Build and NPM start giving errors in ProseMirror under NGx- Editor

Viewed 425

There is a sudden flurry of errors when i am building the code , the errors are inside the Ngx-Editor libraries in Node Modules folder .

Screenshot of errors -

enter image description here

My Package.Json -

enter image description here

Can anyone let me know any workarounds ? Thanks in Advance

2 Answers

This is an issue related to how the package declares export, try one of these

import test from 'test'

or

import * as test from 'test'

Another way is to import "allowSyntheticDefaultImports": true in tsconfig.json's compilerOptions

Related