senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.95k stars 312 forks source link

"notice":"seneca: The definition action for the plugin mesh has failed: Cannot read property 'length' of undefined (api.js:304:28) #793

Closed hnv-hn closed 4 years ago

hnv-hn commented 4 years ago

Hi,

after reinstalling seneca version 3.20.1, I got the error from seneca/lib/api.js. For some reason, the variable deps in my case is undefined. But it worked well with the last version.

in the last version was: _.every(deps, ... in currently version is: for (var i=0; i < deps.length;...

Can someone, please, fix it? Thank you very much.

https://github.com/senecajs/seneca/blob/4982f082d6f173bc7d890236f8746f13ada0bc9f/lib/api.js#L300

wzrdtales commented 4 years ago

duplicate of #792, just downgrade to 3.20.3 worked for me

hnv-hn commented 4 years ago

Thank you, wzrdtales.

I'm using version 3.20.1.