Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

typescript peerDependency blocks npm shrinkwrap #167

Closed
@zaggino

Description

@zaggino

Please use "typescript": "*" or at least "typescript": "^2.0.0" in peerDependencies as current "typescript": "~2.0.3" means that typescript <2.1.0 is required.

This happens on my machine with "typescript": "2.1.6", and "typescript-eslint-parser": "1.0.3", in package.json:

npm WARN typescript-eslint-parser@1.0.3 requires a peer of typescript@~2.0.3 but none was installed.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Zaggi\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "shrinkwrap"
npm ERR! node v7.5.0
npm ERR! npm  v4.2.0

npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! peer invalid: typescript@~2.0.3, required by typescript-eslint-parser@1.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions