Git Product home page Git Product logo

Comments (3)

UI369 avatar UI369 commented on June 2, 2024

Full errror:

5:44:11 PM [vite] Internal server error: Failed to resolve entry for package "terminal-in-react". The package may have incorrect main/module/exports specified in its package.json.
  Plugin: vite:import-analysis
  File: /Users/ui369/Workspace/Code/UI369/hooprunner/src/App.js
      at packageEntryFailure (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22004:11)
      at resolvePackageEntry (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:22001:5)
      at tryNodeResolve (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21736:20)
      at Context.resolveId (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:21487:28)
      at async Object.resolveId (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41587:32)
      at async TransformContext.resolve (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41334:23)
      at async normalizeUrl (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39685:34)
      at async TransformContext.transform (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39826:47)
      at async Object.transform (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:41660:30)
      at async loadAndTransform (file:///Users/ui369/Workspace/Code/UI369/hooprunner/node_modules/vite/dist/node/chunks/dep-3007b26d.js:39466:29)```

from terminal-in-react.

unional avatar unional commented on June 2, 2024

The package does not include the src folder.

from terminal-in-react.

sahinme avatar sahinme commented on June 2, 2024

If anyone faced with this issue you can fix it for now importing bundle js

import Terminal from "terminal-in-react/lib/bundle/terminal-react";

from terminal-in-react.

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.