generator-karma does not satisfy its siblings' peerDependencies requirements

后端 未结 6 613
野性不改
野性不改 2021-02-03 22:46

The same notorious error

npm ERR! peerinvalid The package generator-karma does not satisfy its siblings\' peerDependencies requirements!
npm ERR! peerinvalid Peer ge         


        
6条回答
  •  逝去的感伤
    2021-02-03 23:07

    You need to update all of your globally installed NPM packages. Run this command from your console:

    npm update -g
    

    This command will update all the packages listed to the latest version (specified by the tag config).

    It will also install missing packages.

    When you specify the -g flag, this command will update globally installed packages. If no package name is specified, all packages in the specified location (global or local) will be updated.

提交回复
热议问题