-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Support Parcel #20613
Comments
@birkskyum thanks for reporting. I can't seem to reproduce the problem you are facing, for me
And if I use
(what I mean is that I can't hit that |
I tried updating to deno 1.37.1, and run again, and now I see the same output as you. |
@birkskyum any chance you could try again with latest canary? We put a lot of effort into improving |
Fantastic work on pushing the compat! I get this now, so it could be it's very close for both Expo and Parcel: ➜ deno run -A npm:parcel index.html
TypeError: Cannot read properties of undefined (reading 'Symbol(Deno.internal.rid)')
at TTY.#read (ext:deno_node/internal_binding/stream_wrap.ts:220:45)
at TTY.readStart (ext:deno_node/internal_binding/stream_wrap.ts:90:17)
at _tryReadStart (node:net:276:30)
at ReadStream._read (node:net:856:7)
at ReadStream.Readable.read (ext:deno_node/_stream.mjs:2999:16)
at ReadStream.read (node:net:789:34)
at resume_ (ext:deno_node/_stream.mjs:3349:16)
at Array.processTicksAndRejections (ext:deno_node/_next_tick.ts:33:15)
at eventLoopTick (ext:core/01_core.js:165:29) |
Running with canary now gives this: (base) birkskyum@Birks-MacBook-Pro deno-kitchensink % deno run -A npm:parcel index.html
Error: Cannot find module '@parcel/config-default'
Require stack:
- /Users/birkskyum/Library/Caches/deno/npm/registry.npmjs.org/parcel/2.12.0/lib/cli.js
- /Users/birkskyum/Library/Caches/deno/npm/registry.npmjs.org/parcel/2.12.0/lib/bin.js
at Function.Module._resolveFilename (node:module:609:15)
at Function.resolve (node:module:779:19)
at run (file:///Users/birkskyum/Library/Caches/deno/npm/registry.npmjs.org/parcel/2.12.0/lib/cli.js:217:28)
at eventLoopTick (ext:core/01_core.js:207:9) {
code: "MODULE_NOT_FOUND",
requireStack: [
"/Users/birkskyum/Library/Caches/deno/npm/registry.npmjs.org/parcel/2.12.0/lib/cli.js",
"/Users/birkskyum/Library/Caches/deno/npm/registry.npmjs.org/parcel/2.12.0/lib/bin.js"
] I figured I'd try installing parcel with npm and try running it as a "script" in package json, with and without the byonm flag in deno.js, but then I hit this, and the terminal froze completely, to the point where I could not even abort it. Task compress parcel index.html Related |
deno deploy + parcel template pls |
…#25243) Fixes #23281. Part of #20613. We were emitting the `online` event in the constructor, so the caller could never receive it (since there was no time for them to add a listener). Instead, emit the event where it's intended – after the worker is initialized. --- After this parcel no longer freezes, but still will fail due to other bugs (which will be fixed in other PRs)
…#25243) Fixes #23281. Part of #20613. We were emitting the `online` event in the constructor, so the caller could never receive it (since there was no time for them to add a listener). Instead, emit the event where it's intended – after the worker is initialized. --- After this parcel no longer freezes, but still will fail due to other bugs (which will be fixed in other PRs)
Platform
Darwin 22.6.0 arm64 arm
Version
deno 1.37.0
Repro
Make an index.html
Run it with deno
deno run -A npm:parcel index.html
Expected
Server running at http://localhost:1234 ✨ Built in 494ms
Actual
The text was updated successfully, but these errors were encountered: