Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Fatal error: Cannot read property 'length' of null #35

Closed
localjo opened this issue Jul 14, 2014 · 1 comment
Closed

Fatal error: Cannot read property 'length' of null #35

localjo opened this issue Jul 14, 2014 · 1 comment

Comments

@localjo
Copy link

localjo commented Jul 14, 2014

When I try to run this task to package a Chrome app, it is failing, and I can't figure out exactly why. Here is the output I am getting from grunt crx --verbose;

Running "crx:production" (crx) task
Verifying property crx.production exists in config...OK
Files: extension/ -> dist/devtools-name-0.1.0.crx
Reading .../../data/config-default.json...OK
Parsing  .../../data/config-default.json...OK
Reading cert/devtools-name.pem...OK
Reading extension/manifest.json...OK
Parsing extension/manifest.json...OK
Reading package.json...OK
Parsing package.json...OK
Fatal error: Cannot read property 'length' of null

I can't figure out why the property length is trying to be read, nor what null represents. I tried searching the grunt-crx code for "length" and found nothing. Any help would be appreciated!

@localjo
Copy link
Author

localjo commented Jul 14, 2014

Actually, this may be a problem related to the crx module: thom4parisot/crx#18

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

No branches or pull requests

1 participant