stefanpenner / hash-for-dep

7 stars 11 forks source link

Error occurs if package is missing #40

Closed dennismende closed 7 years ago

dennismende commented 7 years ago
Cannot read property 'name' of null        
TypeError: Cannot read property 'name' of null        
at again (/cache/node_modules/hash-for-dep/lib/deps-for.js:19:25)        
at /cache/node_modules/hash-for-dep/lib/deps-for.js:27:7        
at Array.forEach (native)        
 at again (/cache/node_modules/hash-for-dep/lib/deps-for.js:26:55)        
at /cache/node_modules/hash-for-dep/lib/deps-for.js:27:7        
at Array.forEach (native)        
at again (/cache/node_modules/hash-for-dep/lib/deps-for.js:26:55)        
at /cache/node_modules/hash-for-dep/lib/deps-for.js:27:7        
at Array.forEach (native)        
at again (/cache/node_modules/hash-for-dep/lib/deps-for.js:26:55)
rwjblue commented 7 years ago

Thanks for reporting, this is essentially the same issue as https://github.com/ember-cli/ember-cli/issues/7390 (as you know).

rwjblue commented 7 years ago

Fixed by #41