Git Product home page Git Product logo

Comments (5)

levpachmanov avatar levpachmanov commented on June 22, 2024 1

vitejs/vite#5912 (comment) worked for me

from react-code-blocks.

VenoM9078 avatar VenoM9078 commented on June 22, 2024

Were you able able to fix this? I'm also getting this error while trying to use react-code-blocks in my React app.

from react-code-blocks.

granteagon avatar granteagon commented on June 22, 2024

Same. Any luck?

from react-code-blocks.

imollm avatar imollm commented on June 22, 2024

Same here

Uncaught ReferenceError: global is not defined
    at capture (core.js:221:28)
    at node_modules/refractor/core.js (core.js:5:15)
    at __require (chunk-DFKQJ226.js?v=8327f63f:8:50)
    at prism-light.js:2:23
  • node: v19.0.0
  • vite: v4.1.0
  • react: v18.2.0

from react-code-blocks.

felixyeboah avatar felixyeboah commented on June 22, 2024

any fix for this? i have been stuck on this error for days.

from react-code-blocks.

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.