Skip to content
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

Can't add crates: Redeclaration of const storage #243

Closed
drewtato opened this issue Mar 25, 2023 · 1 comment
Closed

Can't add crates: Redeclaration of const storage #243

drewtato opened this issue Mar 25, 2023 · 1 comment

Comments

@drewtato
Copy link

Clicking the add or update button doesn't do anything.

This is similar to #177. I tried clicking the search bar just in case, but that didn't fix it. I couldn't find any other workaround.

Clicking the button causes this error to appear in the console:

11:27:44.231 SyntaxError: redeclaration of const storage storage.js:1:1
    <anonymous> moz-extension://fdf66496-da98-4277-9c79-64af24759adf/core/storage.js:1
    inject resource://gre/modules/ExtensionContent.jsm:589
    AsyncFunctionNext self-hosted:810

I also tried reinstalling the extension, but same thing. Seems to be for every crate on docs.rs, but I first noticed on futures.

RSE 1.9.1, Firefox 111.0.1 (64-bit), Windows 11

@Folyd
Copy link
Member

Folyd commented Mar 26, 2023

Hi @drewtato, thanks for the feedback. 4933e1b fixed this bug. I'll release a new version soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants