Coder Social home page Coder Social logo

Comments (6)

NitroLine avatar NitroLine commented on September 27, 2024 3

Fixed by adding this in your package.json and reinstall simple-code-editor

  "overrides": {
    "simple-code-editor": {
      "highlight.js": "~11.8.0"
    }
  },

from simple-code-editor.

xmow49 avatar xmow49 commented on September 27, 2024 2

same problem.
But I rolled back to highlight.js 11.8.0 and it worked.

from simple-code-editor.

rohitasare7 avatar rohitasare7 commented on September 27, 2024

I am facing the same issue

from simple-code-editor.

rohitasare7 avatar rohitasare7 commented on September 27, 2024

@arnonrdp were you able to fix this?

from simple-code-editor.

arnonrdp avatar arnonrdp commented on September 27, 2024

No, @rohitasare7.

I replaced this lib with this one: https://github.surmon.me/vue-codemirror

from simple-code-editor.

MiguelAleixo avatar MiguelAleixo commented on September 27, 2024

Same problem here, I changing my dependencies on package.json to:

   "highlight.js": "11.8.0",
   "simple-code-editor": "^2.0.8"

Then just delete my yarn.lock (package.lock) and the node_modules
and finally install again the dependencies with yarn or npm!
Works perfectly and doesn't give any more errors in the console.

To more details see this: #45

from simple-code-editor.

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.