Why do I get the error below? My grunt version is > v0.4.0
npm install grunt-contrib-concat --save-dev
+-- UNMET PEER DEPENDENCY grunt@>=0.4.0
Error messages:
..Projects\Hartz\Hartz>npm install grunt-contrib-concat --save-dev [email protected] C:..\Projects\Hartz\Hartz +-- UNMET PEER DEPENDENCY grunt@>=0.4.0 `-- [email protected]
npm WARN [email protected] requires a peer of grunt@>=0.4.0 but none was installed. npm WARN [email protected] requires a peer of grunt@>=0.4.0 but none was installed. npm WARN [email protected] No repository field.
grunt -V
grunt-cli v1.2.0
grunt v1.0.1
Install grunt locally (not globally).
npm install grunt --save-dev
It should help, because grunt-contrib-concat
is looking for locally installed grunt module.