-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
Fail to try Deno Demo example #2459
Comments
same problem here |
Just a typescript warning, I got it working by running the flag |
The demo is a little bit outdated... I know beta 14 changed a substantial amount of types. Ideally the generator could generate Deno code... TS 4.5 with Node ESM mode is remarkcably close to how deno handles this... aside from the .ts/.js extension swap. But as it becomes mandatory with the combination of esModulesInterop: false, package.json/type: module and ts-node/type: module, it should be "easy" to implement. Try doing a find and replace on the |
Update in this area: We are working on a complete port of Feathers core to Deno. Only the packages that have hard node dependencies, like Express, Koa, etc, will not be ported. Everything that gets moved to Deno will be published to both platforms. We have a bunch of contributions to merge before this, so it will take a while. |
The main issue for Deno support is #1964, we'll track progress there. |
Add this into you deno.json file can fix the problem.
|
Steps to reproduce
I am discovering feathers as I try to find a web framework for deno. I know bout feathers here: https://deno.land/x/[email protected]
sadly the demo code given on deno.land doesn't build. I have made some obvious fix but running this script till fails with an error in feathers.
This is my program:
And this is the errors I got with:
System configuration
Module versions (especially the part that's not working):
deno.land/x/[email protected]/mod.ts
Deno version:
Operating System:
MacOSX 11 (Big Sur)
The text was updated successfully, but these errors were encountered: