Frustrated programmer
Frustrated programmer

Reputation: 711

Chrome cannot read my manifest file (extension making)

Description

So I recently decided to try to make a chrome extension. So following this tutorial https://developer.chrome.com/extensions/getstarted I made a manifest.json file with the following code:

{
  "name": "Getting Started Example",
  "version": "1.0",
  "description": "Build an Extension!",
  "manifest_version": 2
}

Following the instructions to

Click the LOAD UNPACKED button and select the extension directory.

Problem

I attempt to load the extension and get the error
Manifest file is missing or unreadable

What I've tried

So before you mark this duplicate, I have read: Chrome says my extension's manifest file is missing or unreadable

and I have tried the answers, my manifest file is INDEED a .json file.
I have made a new folder and remade my extension.
I have checked to see if the json was valid (it is).

My manifest file is stored at Users\...\phpstormprojects\extension\manifest.json
I am attempting to upload the extension folder.

Note: I have tried zipping the folder and uploading it and it as well hasn't worked.

Upvotes: 1

Views: 7788

Answers (2)

GuyFromChennai
GuyFromChennai

Reputation: 1385

While loading the unpack extension, select the build folder. it should work

Upvotes: 0

ruty
ruty

Reputation: 61

it happened to me also then i downloaded the example manifest from here

https://developer.chrome.com/extensions/examples/tutorials/get_started/manifest.json

put it on the wanted directory and changed the content to my content- it works!

Upvotes: 1

Related Questions