Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Invalid path argument #24227

Closed
marvinhagemeister opened this issue Jun 17, 2024 · 3 comments · Fixed by #24257 or #24259
Closed

Bug: Invalid path argument #24227

marvinhagemeister opened this issue Jun 17, 2024 · 3 comments · Fixed by #24257 or #24259
Assignees
Labels
bug Something isn't working correctly node compat

Comments

@marvinhagemeister
Copy link
Contributor

Reported on twitter: https://x.com/fabiospampinato/status/1802476389343396315

To run the TS:

  • deno run --allow-all src/bin.ts as

To run the JS:

  • npm run compile && npm run bundle
  • deno run --allow-all dist/bin.js as

Error:

image

Version: Deno 1.44.2

@marvinhagemeister marvinhagemeister added bug Something isn't working correctly node compat labels Jun 17, 2024
@bartlomieju
Copy link
Member

@lucacasonato
Copy link
Member

@bartlomieju It does - it is just deprecated: https://nodejs.org/api/fs.html#direntpath

@littledivy
Copy link
Member

Fixed on MacOS, getting this error on Linux:

[divy@divy grepgrep]$ ../deno/target/debug/deno run -A dist/bin.js as
error: Uncaught (in promise) TypeError: Invalid signal : SIGPOLL
    at bindSignal (ext:runtime/40_signals.js:14:10)
    at Object.addSignalListener (ext:runtime/40_signals.js:54:19)
    at Process.on (node:process:489:12)
    at Process.once (ext:deno_node/_events.mjs:532:8)
    at Kt.hook (file:///home/divy/gh/grepgrep/dist/index.js:11:4721)
    at new Kt (file:///home/divy/gh/grepgrep/dist/index.js:11:4824)
    at file:///home/divy/gh/grepgrep/dist/index.js:11:4836

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
4 participants