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

Could not load extension icon 'icon16.png' #24

Open
lrapetti opened this issue Oct 31, 2018 · 16 comments
Open

Could not load extension icon 'icon16.png' #24

lrapetti opened this issue Oct 31, 2018 · 16 comments

Comments

@lrapetti
Copy link

I am trying to install the package from the Chrome Web Store, and I am getting the following error:

Package is invalid. Details: 'Could not load extension icon 'icon16.png'.'.

System: macOS High Serra 10.13.6
browser: Google Chrome Version 70.0.3538.77

@lrapetti lrapetti changed the title Package is invalid. Details: 'Could not load extension icon 'icon16.png'.'. Could not load extension icon 'icon16.png' Oct 31, 2018
@mgbeckett
Copy link

Same error on Chromebook / Chrome

@orsharir
Copy link
Owner

orsharir commented Nov 4, 2018

This is odd... I cannot reproduce this error on my own system (macOS Mohave and Chrome 70.0.3538.77). Try to see if you can manually install the package from source (using the development mode).

@mgbeckett
Copy link

mgbeckett commented Nov 4, 2018 via email

@computersarecool
Copy link

computersarecool commented Nov 5, 2018

I am getting the same error on Chrome 69.0.3497.100 on a regular laptop (i.e. non chromebook)

@yongcongwang
Copy link

yongcongwang commented Nov 8, 2018

same err. chrome Version 70.0.3538.67, ubuntu 16.04 LTS

@pengqianggs
Copy link

it worked on my windows chrome, but didn't work and appeared same issue on my linux chromium. I finally resolved by steps below:
1st, git clone the current repository to local path(git clone https://github.com/orsharir/github-mathjax.git);
2nd, open the chrome/chromium extensions page(chrome://extensions), open development mode, and click 'Load unpacked' button to choose the path which configuration file 'manifest.json' is located(path 'github-mathjax' as usual), and the extension is loaded.
3rd, open the github pages which contains MathJax Latex, and testing the result above.

@lrapetti
Copy link
Author

lrapetti commented Nov 13, 2018

Try to see if you can manually install the package from source (using the development mode).

@orsharir
I am able to install it from source as explained in the comment above #24 (comment)

@yongcongwang
Copy link

git clone https://github.com/orsharir/github-mathjax.git

it works

@aQuaYi
Copy link

aQuaYi commented Dec 15, 2018

same err.
ubuntu: 16.04
chrome: 71.0.3578.98(64 bit)

@SimonSelg
Copy link

it worked on my windows chrome, but didn't work and appeared same issue on my linux chromium. I finally resolved by steps below:
1st, git clone the current repository to local path(git clone https://github.com/orsharir/github-mathjax.git);
2nd, open the chrome/chromium extensions page(chrome://extensions), open development mode, and click 'Load unpacked' button to choose the path which configuration file 'manifest.json' is located(path 'github-mathjax' as usual), and the extension is loaded.
3rd, open the github pages which contains MathJax Latex, and testing the result above.

If you do this, the unpacked extension has to stay where you loaded it from. A better way:

  • Clone the github repository
  • Go to chrome://extensions/, turn on Developer Mode
  • Click on "pack extension", choose the folder where you cloned github repository to
    • This will create an github-mathjax.crx file
  • Drag the github-mathjax.crx file into google chrome
  • After confirming, the extension is now installed
  • Now delete the cloned github repository and the .crx file, you don't need it anymore!

Maybe this helps someone :)

@LEXUGE
Copy link

LEXUGE commented Apr 11, 2019

Any solutions without git clone or hacking?

@illucent
Copy link

Hi! Bug report on png icon I suggest to replace it with one scalable for all sizes icon *.svg format.
20190726190134EEST2019_MathJaxPluginforGithubChromeWebStoreChromium

@shboy
Copy link

shboy commented Aug 25, 2019

it worked on my windows chrome, but didn't work and appeared same issue on my linux chromium. I finally resolved by steps below:
1st, git clone the current repository to local path(git clone https://github.com/orsharir/github-mathjax.git);
2nd, open the chrome/chromium extensions page(chrome://extensions), open development mode, and click 'Load unpacked' button to choose the path which configuration file 'manifest.json' is located(path 'github-mathjax' as usual), and the extension is loaded.
3rd, open the github pages which contains MathJax Latex, and testing the result above.

If you do this, the unpacked extension has to stay where you loaded it from. A better way:

  • Clone the github repository

  • Go to chrome://extensions/, turn on Developer Mode

  • Click on "pack extension", choose the folder where you cloned github repository to

    • This will create an github-mathjax.crx file
  • Drag the github-mathjax.crx file into google chrome

  • After confirming, the extension is now installed

  • Now delete the cloned github repository and the .crx file, you don't need it anymore!

Maybe this helps someone :)

great! issue fixed by ur way

@nschloe
Copy link

nschloe commented Apr 8, 2020

This issue prompted me to write my own MathJax extension, Green Pi. It uses teh new MathJax and you can use it on all domains (GitHub and GitLab are the factory settings). You can get it for

(Same code base btw.) I'll be happy about feedback!

@TheIrishPizzaGuy
Copy link

I fixed what sounds to be this exact problem idk tho. In my manifest I had 'icon.png' but the file was 'Icon.png', windows doesn't care/throw an error but linux/mac/Chromebook systems will be case sensitive.

@Nige12
Copy link

Nige12 commented Jul 10, 2022

Thank you SO much TheIrishPizzaGuy, after being completely baffled by some of the above responses. Changing the Case of 1 letter worked for me. You saved me so much time and a lot of hair-pulling!

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