deno install not working on latest canary
mac version: Apple M1 Pro
deno version: deno 2.0.0-rc.1+f0a3d20
you can test this out on github: https://github.com/zemili-group/moonrepoV3
GitHub
GitHub - zemili-group/moonrepoV3: Deno monorepo on deno deploy all ...
Deno monorepo on deno deploy all things zemil-group - zemili-group/moonrepoV3
21 Replies
That definitely shouldn't happen. Filed an issue for it https://github.com/denoland/deno/issues/25493
how can i upgrade to a previous canary release ? where can i find a list of commit hashes ? can you show me the command to run upgrade to spesific commits ?
thanks so much
@marvinh.
You can find a list of commit hashes on GitHub (those random letters at the right) https://github.com/denoland/deno/commits/main/
You can upgrade to any commit by running
deno upgrade <commit-sha>
i am not sure if its correct 🤔
Did this work, it says it didn't find any download after passing in a commit hash?
yeah i have the same issue @Sean Knowles
Not sure if we are having any luck here, can't get passed the error @marvinh.
You need to pass the full hash, not the short hash
Click the button next to a hash on GitHub to copy it
I'll improve that error message
Is there a green checkmark next to that commit on GitHub? If not it will not work
Okay great thanks will double check that in future
Thanks
@bartlomieju Looks like the PR is ready on this? If its merged can we use it on canary immediately?
No, it needs to land on main and you need to wait some time before CI passes. Depending on your os/arch it can be anywhere between 30m and 2h
You can also downgrade to the version before the problematic change for the time being
I've been trying to...
No luck!
Have you tried
e27a19c02c537626d7874f7521f4e39d6dfad0af
?not yet
Will try now
@nathanwhit could you please take a look and advise which commit to use?
didn't work
The commit before the bug was introduced is ef1294e4e5beb68676ba64a6c3a44ff0a277e68a, but that's on 1.46.1 so it might be too old if you're already using 2.0 features.
The PR to fix the bug will land whenever CI finishes, and then once CI on main is done the canary with the fix will be available. It'll probably be 1-2 hours from now
Legendary
Again, thanks so much for such a quick fix!
Cheers guys
The fixed canary is now available! If you do
deno upgrade canary
you should get the new version. Feel free to try it out and let me know if it works for you nowIt worked! Thanks for the quick fix