npm ERR: peer dep missing. yeoman-environment@^3.2,0. required by yeoman-generator@5.4.1
When I check the list of npm package available with command 'npm list -g --depth=0', I get the above mentioned error.
Can someone please help me understand it?
It is resolved now. I have uninstalled yo and generator-code first. Then I have updated nodejs and npm version to LTS version. Then again installed yo and generator-code. It gave the same warning that required yeoman-environment was missing. I have installed yeoman-environment. Now everything is alright. I am able to use yo and generator-code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.