You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the basic Solid Start template with Typescript, running deno task dev will error with the following message:
error: npm package 'uWebSockets.js' does not exist.
Expected behavior 🤔
Deno should be able to download all dependencies listed in package.json and should start the development server
Steps to reproduce 🕹
Steps:
run pnpm create solid and use any name
select "Yes" when prompted for whether this is a Solid Start project
select the "basic" template
select "Yes" when prompted for whether to use TypeScript
run deno task dev in the root directory of the new project
observe error
Context 🔦
I'm playing around with Solid Start in personal web apps and wanted to know if it would work with Deno in development and not just in production. I can't assume it does even though Vite works with Deno because framework authors can still break that compatibility; I've found that to be the case with Astro, regrettably.
There's a chance this bug is upstream, possibly with Vinxi, Nitro, or even with Deno. I just figured I'd start here since I can't exactly pinpoint where the bug actually happens; there's no stack trace or indication of what caused uWebSockets.js to even be included in the downloads.
uWebSockets.js is included by crossws. You can replicate this error outside of start by running deno repl and entering import "npm:crossws".
Maybe Deno's npm: resolver doesn't take into account packages that have github: dependencies, since it seems to look for uWebSockets.js on npm?
Running DENO_FUTURE=1 deno task dev works as expected. I'll close this issue as completed if you'd like @birkskyum, since this is an upstream issue that's fixed in a future version of Deno.
Duplicates
Latest version
Current behavior 😯
When using the basic Solid Start template with Typescript, running
deno task dev
will error with the following message:error: npm package 'uWebSockets.js' does not exist.
Expected behavior 🤔
Deno should be able to download all dependencies listed in
package.json
and should start the development serverSteps to reproduce 🕹
Steps:
pnpm create solid
and use any namedeno task dev
in the root directory of the new projectContext 🔦
I'm playing around with Solid Start in personal web apps and wanted to know if it would work with Deno in development and not just in production. I can't assume it does even though Vite works with Deno because framework authors can still break that compatibility; I've found that to be the case with Astro, regrettably.
Potentially related issues:
There's a chance this bug is upstream, possibly with Vinxi, Nitro, or even with Deno. I just figured I'd start here since I can't exactly pinpoint where the bug actually happens; there's no stack trace or indication of what caused
uWebSockets.js
to even be included in the downloads.package.json
:Your environment 🌎
The text was updated successfully, but these errors were encountered: