-
Notifications
You must be signed in to change notification settings - Fork 152
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
First time deno task start
fails with Deno 2.0: error: Import assertions are deprecated. Use with
keyword, instead of 'assert' keyword.
#687
Comments
I found out how to view dependencies with file:///Users/REDACTED/Code/retinfo/dev.ts (253B)
└─┬ file:///Users/REDACTED/Code/retinfo/fresh.config.ts (769B)
└─┬ file:///Users/REDACTED/Code/retinfo/plugins/blog/mod.ts (667B)
├─┬ file:///Users/REDACTED/Code/retinfo/plugins/blog/routes/blog/[slug].tsx (1.35KB)
│ ├── https://esm.sh/[email protected]/jsx-runtime *
│ ├── https://deno.land/x/[email protected]/server.ts *
│ ├─┬ https://deno.land/x/[email protected]/mod.ts (6.94KB)
│ │ ├─┬ https://deno.land/x/[email protected]/deps.ts (787B)
│ │ │ ├─┬ https://deno.land/x/[email protected]/mod.ts (28B) <-------
│ │ │ │ └─┬ https://deno.land/x/[email protected]/emoji.ts (4.34KB)
│ │ │ │ ├── https://deno.land/x/[email protected]/types.ts (1.1KB)
│ │ │ │ ├── https://deno.land/x/[email protected]/all.json (548.4KB)
│ │ │ │ └── https://deno.land/x/[email protected]/unicode.ts (3.82KB) I stripped out the blog module and the project now starts successfully! ➜ deno task start
Task start deno run --unstable-kv -A --watch=static/,routes/ --env dev.ts
Watcher Process started.
The manifest has been generated for 22 routes and 3 islands.
🍋 Fresh ready
Local: http://localhost:8000/ Might the blog module need updating?
|
For some reason the gfm package isn't being published to deno land any more. this is fixed when #684 lands |
Resolved by #688 |
This doesn't seem to be fixed #689 I'm confused: denoland/deno-gfm#128 |
I followed the Saaskit README and cloned the repository, set up
.env
as described, and when I randeno task start
I got:I tried
deno task update
and the results after this are the same.I also tried a clean Fresh project with
deno run -A -r https://fresh.deno.dev
anddeno task start
ran without issue, so the error must not be from Fresh.Also the
x/emoji
module is a peer dependency and I don't know how to check which module is using it. Version0.3.1
fixes the use of theassert
keyword for import assertions, replacing it withwith
but I don't know how I could fix this or which package to upgrade or open a PR with...To Reproduce
Expected behavior
The app should have started locally for the first time when following the README instructions correctly.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: