Giter Site home page Giter Site logo

Comments (5)

crwntec avatar crwntec commented on August 11, 2024 2

Actually the best thing to do is to ditch xterm-for-react. I had the same problem and its definetly easier to work with xterm.js, useEffect() and useRef to set it up: https://gist.github.com/neuron-electronics/0cabbfa5337a904d689e081e92926fa5#file-component-js

from xterm-for-react.

Johnrobmiller avatar Johnrobmiller commented on August 11, 2024

this replicated for me also

from xterm-for-react.

Johnrobmiller avatar Johnrobmiller commented on August 11, 2024

this replicated for me also

from xterm-for-react.

Johnrobmiller avatar Johnrobmiller commented on August 11, 2024

This is almost certainly a Next.js or SSR/SSG problem. I can see in the screenshot the Next.js debugger ui, and I was also using Next.js

Next.js rejects the library when dynamically importing it in.

The maintainer of this repo needs to fix this, because dynamic importing didn't work, I doubt there is a solution to this problem for Next.js users (I hope someone proves me wrong)

from xterm-for-react.

twinsant avatar twinsant commented on August 11, 2024

Got it too.

from xterm-for-react.

Related Issues (13)

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.