npm not recognizing global package

  1. npm install eslint -g -e

Done:

+ eslint@5.12.1

added 116 packages from 70 contributors in 7.987s
  1. npm install babel-eslint -g -e

Done

+ babel-eslint@10.0.1

added 32 packages from 48 contributors in 1.5s

BUT is generating a warn! Insn’t recognizing the peerDependencies.

npm WARN babel-eslint@10.0.1 requires a peer of eslint@>= 4.12.1 but none is installed. You must install peer dependencies yourself.

  1. npm list -g --depth=0

Results:

β”œβ”€β”€ babel-eslint@10.0.1

β”œβ”€β”€ eslint@5.12.1

└── npm@6.7.0

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.