i had another variant than the causes mentioned in the issue: i was getting the error in lib A, but the error was that lib B (referenced by lib A) had a wrong "name" in the package.json