Skip to content

Cannot read property 'length' of undefined (npm 7.0.8) #2134

Closed
@lesyk-lesyk

Description

@lesyk-lesyk

An error occurs during the installation of a new package.
Maybe relates to #2116

➜ git:(chore/npm-test) ✗ npm i --save-dev @graphql-codegen/typescript
npm ERR! code ERESOLVE
npm ERR! Cannot read property 'length' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/XXX/.npm/_logs/2020-11-06T11_25_39_984Z-debug.log

➜ node --version
v15.1.0

➜  npm --version
7.0.8

MacOS Catalina 10.15.7

Full log:
2020-11-06T11_25_39_984Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingRelease 7.xwork is associated with a specific npm 7 release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions