Git Product home page Git Product logo

Comments (7)

privatenumber avatar privatenumber commented on June 7, 2024

PR welcome but I'd need verification that the fix is effective

from tsx.

hermanbanken avatar hermanbanken commented on June 7, 2024

Same issue. Really unhelpful error message.

from tsx.

narthur avatar narthur commented on June 7, 2024

I'm running into the same issue, though pnpm ls esbuild doesn't show anything so it looks like this issue might occur in situations not involving esbuild, too.

from tsx.

narthur avatar narthur commented on June 7, 2024

Oh, nvm. After patching tsx it looks like I'm getting the same error as @Joris-van-der-Wel.

Here's the patch file I created using pnpm patch in case it's useful to anyone:

[email protected]

from tsx.

privatenumber avatar privatenumber commented on June 7, 2024

As per the Contribution Guide, I've hid comments that aren't productive towards landing a fix.

@narthur Would you be open to contributing a PR?

from tsx.

narthur avatar narthur commented on June 7, 2024

@privatenumber Sure, I can take a whack at it.

from tsx.

ariran5 avatar ariran5 commented on June 7, 2024

Same issue

package.json

{
  "type": "module"
}
tsx --env-file=.env src/index.ts

node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^
TypeError [Error]: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
    at bt (file:///Users/user/node_modules/tsx/dist/index-29948669.mjs:16:1598)
    at file:///Users/user/node_modules/tsx/dist/index-29948669.mjs:17:632
    at hr (file:///Users/user/node_modules/tsx/dist/index-29948669.mjs:16:1071)
    at Cr (file:///Users/user/node_modules/tsx/dist/index-29948669.mjs:17:560)
    at Z (file:///Users/user/node_modules/tsx/dist/esm/index.mjs:5:1755)
    at async nextLoad (node:internal/modules/esm/hooks:749:22)
    at async Hooks.load (node:internal/modules/esm/hooks:382:20)
    at async handleMessage (node:internal/modules/esm/worker:199:18)

Version 4.7.1
macOS Sonoma 14.1
Node.js v21.3.0

Version 4.6.2 works fine

from tsx.

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.