Relative Content

Tag Archive for ionic-frameworkionic4

I get this error from running “npm run start” in my project

ERROR in ./node_modules/@ionic/core/dist/esm/legacy/loader.mjs 4:11-19
Can’t import the named export ‘a’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/loader.mjs 6:8-21
Can’t import the named export ‘b’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/loader.mjs 5:8-15
Can’t import the named export ‘g’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/index.mjs 3:0-202
Can’t reexport the named export ‘a’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/index.mjs 3:0-202
Can’t reexport the named export ‘b’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/index.mjs 3:0-202
Can’t reexport the named export ‘c’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/index.mjs 3:0-202
Can’t reexport the named export ‘l’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/index.mjs 3:0-202
Can’t reexport the named export ‘m’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/index.mjs 3:0-202
Can’t reexport the named export ‘p’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/legacy/index.mjs 3:0-202
Can’t reexport the named export ‘t’ from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/loader/index.mjs 21:0-47
Can’t reexport the namespace object from non EcmaScript module (only default export is available)
ERROR in ./node_modules/@ionic/core/dist/esm/polyfills/index.js 15:18
Module parse failed: Unexpected token (15:18)
You may need an appropriate loader to handle this file type.
|
| if (!win.customElements || (win.Element && (!win.Element.prototype.closest || !win.Element.prototype.matches || !win.Element.prototype.remove))) {