magic-copy icon indicating copy to clipboard operation
magic-copy copied to clipboard

Manifest unreadable error when trying to install

Open JGCoelho opened this issue 2 years ago • 3 comments

I tried to install the extension on chrome by following these steps.

Alternatively, the extension can be installed manually:

Download the repository as a ZIP file. Extract the ZIP file. In Chrome, go to chrome://extensions/, enable "Developer mode", and click "Load unpacked". Select the folder where the extension was extracted.

After enabling developer mode and selecting "Load unpacked", I get this error:

Failed to load extension
File ~\Downloads\magic-copy-main
Error Manifest file is missing or unreadable
Unable to load manifest.

I've tried deleting, downloading and extracting the zip file again, but that didn't work. When loading unpacked I'm selecting the folder where the files were extracted, not the zip file. I'm using Chrome version 112.0.5615.50 64 bits (latest). Any ideas of what could be causing this?

JGCoelho avatar Apr 07 '23 20:04 JGCoelho

Hi @JGCoelho thanks for trying it out! I made a mistake in the instructions, could you try the magic-copy.zip file in the latest release?

https://github.com/kevmo314/magic-copy/releases

I've updated the README as well, that's what I get for copying those instructions from somewhere else :)

kevmo314 avatar Apr 07 '23 20:04 kevmo314

Hi @kevmo314. I've downloaded the extension from the url you provided. It now appears as installed on my browser.

image

However, it produces an error. Clicking on the warning produces the following error message.

The default_popup file in the manifest doesn't exist. Confirm it exists and then reload the extension.

and the following lines are highlighted in a window:

"action": {
    "default_popup": "popup.html"
  },

I didn't tamper with the files inside the distribution. Reloading the extension or reopening Chrome doesn't help. If I try to use the plugin anyway the popup looks like this. image

It says the file couldn't be accessed.

JGCoelho avatar Apr 07 '23 21:04 JGCoelho

there was a file called popup.html in the initial commit but it looks like a placeholder.

the extension works but clicking the icon should instruct users to right-click on images.

image

image

jadedgnome avatar Apr 08 '23 12:04 jadedgnome