Git Product home page Git Product logo

Comments (3)

codeperl avatar codeperl commented on August 17, 2024 5

If it helps someone. I solved this issue! I added configuration to vite.config.js

optimizeDeps: {
        include: ['codemirror-editor-vue3']
    },

from vue-laravel-file-manager.

codeperl avatar codeperl commented on August 17, 2024 1

I am facing kind of same problem. My error message is: "Error: 'default' is not exported by..." for "codemirror-editor-vue3". "codemirror-editor-vue3" is inside node_modules and installed as a dependency of vue-laravel-file-manager. I amusing vuejs3 and vite.

Did you find any solution for this?

@alexusmai I can't thank you enough for writing this beautiful piece of software. I'll be glad if you can help regarding this.

The exact error in developer plugin is like this:

Mozilla Firefox:
"Uncaught SyntaxError: ambiguous indirect export: default [codemirror-editor-vue3.es.js:25:7](https://www.freemarket.com:4431/node_modules/codemirror-editor-vue3/dist/codemirror-editor-vue3.es.js?v=82a63921)"

Chrome in Ubuntu:
"Uncaught SyntaxError: The requested module '/node_modules/diff-match-patch/index.js?v=82a63921' does not provide an export named 'default' (at codemirror-editor-vue3.es.js?v=82a63921:25:8)"

and this is the line it indicates:
"import DiffMatchPatch from "/node_modules/diff-match-patch/index.js?v=82a63921";"

from vue-laravel-file-manager.

yousof-jfri avatar yousof-jfri commented on August 17, 2024

thanks a lot @codeperl

from vue-laravel-file-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.