grunt-template-jasmine-istanbul
grunt-template-jasmine-istanbul copied to clipboard
UNMET PEER DEPENDENCY
Hallo, I updated this module via npm and faced the following warning.
npm install -g grunt-template-jasmine-istanbul --production
C:\npm
+-- UNMET PEER DEPENDENCY grunt@^1.0.1
+-- UNMET PEER DEPENDENCY grunt-contrib-jasmine@^1.0.3
`-- [email protected]
npm WARN [email protected] requires a peer of grunt@^1.0.1 but none was installed.
npm WARN [email protected] requires a peer of grunt-contrib-jasmine@^1.0.3 but none was installed.
my insatlled grunt version is 1.0.1 my insatlled grunt-contrib-jasmine version is 1.1.0
npm version is 3.10.10 node version is 6.11.1
perhaps you could adjust your dependencies.
Regards Michael
Hi Michael, Sorry for the late response. NPM changed how peer dependencies are resolved in version 3. Whereas in NPM 2 peer dependencies were installed alongside a plugin, but from version 3 on, peer dependencies need to be added as dependencies as well to be installed. See also https://codingwithspike.wordpress.com/2016/01/21/dealing-with-the-deprecation-of-peerdependencies-in-npm-3/.