thom4parisot / grunt-crx

Grunt task used to package private Chrome Extensions.
https://npmjs.com/grunt-crx
MIT License
118 stars 21 forks source link

Issues generating .crx file #67

Closed botzill closed 8 years ago

botzill commented 8 years ago

Hi.

I'm trying ti generate new .crx file with this simple config:

crx: {
      dist: {
        "src": [
          "dist/**/*",
          "!.{git,svn}",
          "!*.pem"
        ],
        "dest": "crx/test.crx"
      }
    }

And I get this error:

Warning: Unable to read "dist/_locales/manifest.json" file (Error code: ENOENT). Used --force, continuing.

Why does it look for manifest.json in that dir?

Thx.

fcfort commented 8 years ago

I had the same issue, I was only able to resolve this by upgrading to 1.0.3.

botzill commented 8 years ago

@fcfort Thx for response. Can you, please, tell us what exactly did you upgrade to version 1.0.3? Thx.

fcfort commented 8 years ago

npm --save-dev install grunt-crx@1.0.3

See https://docs.npmjs.com/cli/install

botzill commented 8 years ago

Thx @fcfort for useful info. :+1:

richburdon commented 8 years ago

Thanks @fcfort; I have 1.0.3, but weirdly npm thinks the latest rev is 0.3.4

$ npm outdated Package Current Wanted Latest Location grunt-crx 1.0.3 1.0.3 0.3.4

That's also reflected here (Current = 1.0.3; Latest = 0.3.4) https://www.versioneye.com/nodejs/grunt-crx/1.0.3

So 1.0.3 works, but I keep getting npm warnings.

Make any sense?

fcfort commented 8 years ago

Hi @richburdon, the reason for this is issue #44. It appears the author is reluctant to bump up the version in npm without resolving that issue.