Yoman: jit-grunt error with grunt service

I am trying to use angular to create an application using yoman and Grunt. But when I try to run the application using "grunt serve", I got this error

grunt serve
Running "serve" task

Running "clean:server" (clean) task
>> 0 paths cleaned.

jit-grunt: Plugin for the "wiredep" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings

Warning: Task "wiredep" failed. Use --force to continue.

Aborted due to warnings.


Execution Time (2015-10-24 09:44:44 UTC)
loading tasks                175ms  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 55%
serve                         43ms  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 14%
loading grunt-contrib-clean   51ms  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 16%
clean:server                  44ms  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 14%
Total 317ms

I tried to set static mappings in Grunfile.js as indicated in https://github.com/shootaroo/jit-grunt#static-mappings , but still showing the same error.

Is there any way to solve this problem. thanks in advance

ps: I am using Windows 10, 64 bit

+4
source share

Source: https://habr.com/ru/post/1613008/


All Articles