senecajs / seneca-entity

Entity plugin for seneca
MIT License
13 stars 15 forks source link

chore: add nid package #76

Closed lmscunha closed 2 years ago

lmscunha commented 2 years ago

close #75

rjrodger commented 2 years ago

Thanks! Actually I though about this a bit more and solved the problem in a different way. It is important that plugins use the same version of utils as seneca, so I switched to using the version exposed at Seneca.util.Nid rather than importing a new version.

I suspect your original issue was due to seneca missing from the node_modules? Are you using node 14? this does not install peer deps by default. In general use node 16 to avoid this problem.

As your PR was the root cause of the solution in any case, I have added you as an official contributor!