madhusudanbabar / k-domains

A simple module to manage multiple subdomains with just one project
https://www.npmjs.com/package/k-domains
MIT License
52 stars 8 forks source link

Can't reexport the named export 'XXX' from non EcmaScript module #14

Open JFed-9 opened 2 years ago

JFed-9 commented 2 years ago

After following the tutorial (npm i k-domains @nuxtjs/router), and applying the change to the nuxt config file and the pages directory, every page gives this error multiple times:

 ERROR  in ./node_modules/@nuxtjs/composition-api/dist/runtime/index.mjs                                                                                                                                                                                   friendly-errors 17:20:48  

Can't reexport the named export 'watchEffect' from non EcmaScript module (only default export is available)                                                                                                                                                friendly-errors 17:20:48  
                                                                                                                                                                                                                                                           friendly-errors 17:20:48  

 ERROR  in ./node_modules/@nuxtjs/composition-api/dist/runtime/index.mjs                                                                                                                                                                                   friendly-errors 17:20:48  

Can't reexport the named export 'watchPostEffect' from non EcmaScript module (only default export is available)                                                                                                                                            friendly-errors 17:20:48  
                                                                                                                                                                                                                                                           friendly-errors 17:20:48  

 ERROR  in ./node_modules/@nuxtjs/composition-api/dist/runtime/index.mjs                                                                                                                                                                                   friendly-errors 17:20:48  

Can't reexport the named export 'watchSyncEffect' from non EcmaScript module (only default export is available)