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
ReadableStream.from not supported if a fresh app is a subfolder #2412
Comments
Based on the issue title and the description I tried to guess how you're using |
Sorry about vague description. By “I can not use” I meant that vscode doesn’t like the “from” word of
The script runs and |
If it helps, I shared my deno.jsonc in this issue, it’s still the same. |
Thanks for providing more context. This sounds like it's a type issue. Does removing the tripple slash comments in |
Oh I see. I don’t have tripple slash comments in dev.ts. Removing the from main.ts doesn’t help with the issue. |
I think the issue here is that Preact always loads |
I have a fresh app as a folder of bigger project with root deno.jsonc. I used this guide to achieve this: https://fresh.deno.dev/docs/examples/changing-the-src-dir
As a result I can not use
ReadableStream.from
in other part of my code which has nothing to do with the fresh app. It only works if I do both these changes in my deno.jsonc: 1) Comment out jsx and jsxImportSource in compilerOptions; 2) add folder with fresh app to the “exclude” list.Apart that it’s a bit unexpected and difficult to find sort of issue, how to actually make it work? Would appreciate any help
The text was updated successfully, but these errors were encountered: