BrianSipple / ember-web-animations-next-polyfill

An Ember addon that provides and enables use of the web-animations-next polyfill in consuming applications
MIT License
9 stars 2 forks source link

`keywords` may not be present in package.json #14

Closed JackCA closed 7 years ago

JackCA commented 7 years ago

I got the following error because I didn't have a keywords key/value in my package.json:

Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
    at Class.isAddon (/node_modules/ember-web-animations-next-polyfill/index.js:27:20)

It was simply fixed by adding keywords: [], but I'm going to make a PR to protect against this as I believe it isn't a required definition.