-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Type errors when executing denon --version
(deno 1.2.0)
#74
Comments
I have the same issue. I'm just a beginner and this bug confused me so much. @eliassjogreen hopefully I can try installing once that pr is merged. |
Quick-fix workaround if this just broke on
If you're not on Windows you might not have This works basically because of Deno's single-exe philosophy; denon still calls the current ~ I still think this is a serious bug-- it's virtually guaranteed to temporarily break workflows at some point in the future when deno updates. The root of the issue is that by default This will be properly fixable when something like denoland/deno#986 lands, so denon can be bundled as a self-contained executable, and only update when explicitly recompiled. Until then, I wonder if it would make sense for denon to support pinning a If that sounds like a good idea to maintainers, I'd be happy to take a look at it at some point-- I'd like to support the ecosystem :) |
@eliassjogreen That PR has been open for a while. Given that this breaks everything, why are you waiting for a merge? Just point the deps.ts file to resolve omlette as your fork until the change is merged in. Even when it is merged, it likely won't fix things for many users as that dep is not pinned to a specific version. |
This should be temporarily resolved. Not closing rn because of @emmalemma interesting suggestion, that definitely needs discussion. |
This sort of thing is bound to happen until std becomes stable. Though I disagree with the bundling approach given how heavy deno is now ~60 MB. Using a deno version manager (an example being northscaler/d) would be the approach I'd recommend. In effect, you would replace |
We could hook to |
A problem I see with |
I experience the same issue with the
|
Did you upgrade using |
I didn't. I just tried and it worked. It was the first time I tried |
Good stuff 👍 For the record this is not really an issue with std stability -- imports should be tagged anyway -- but with the Just my two cents, this isn't specific to denon. This will bite any installed script someday, and it'll cost more dev hours every time. Personally, I'd hope to see a fix in denoland/deno eventually. Deno already does 90% of the work of a version manager: There are ecosystem issues to consider, but this is already an ecosystem issue... I wouldn't be surprised to see teams trial and reject Deno over it. It seems worth thinking about a simple, general solution. |
Closing this as it is not an issue specific to denon and we try to keep denon up to date with all new released deno versions. We have also removed the omelette dep and autocompletion until we implement it again (#100). |
Setup
deno version
)denon --version
)Latest (i guess)
The text was updated successfully, but these errors were encountered: