Closed jpwilliams closed 4 months ago
@inngest/sdk
.For this issue, I'd recommend now installing the SDK using JSR instead of with the npm:
specifier.
deno add @inngest/sdk
With uNetworking/uWebSockets.js#92, I don't expect this package to be available on npm any time soon. If it were a production dependency of our package then we'd investigate vendoring it here, but JSR should provide an ample solution given that it's only a peer dependency.
Summary
Using the
npm:
specifier when importinginngest
(e.g.npm:inngest
) results in an error when trying to fetch theuWebSockets.js
package.This package is known to not be on npm and instead accessible as a GitHub URL. See uNetworking/uWebSockets.js#92.
This is also blocking us from deploying
inngest
to https://jsr.io, as vendoring the dependencies has the same error. JSR is exploring allowing GitHub URLs for dependencies over at jsr-io/jsr#102.Reproduce
Any Deno file that imports
inngest
usingnpm:inngest
will produce the error when fetching the package:Expected behaviour
The package downloads and is imported successfully.
Workaround
A workaround at present is to instead use the https://esm.sh proxy, for example:
Logs