Answer the question
In order to leave comments, you need to log in
Who is good at “fumbling” in Grunt assembly?
Good day everyone.
The question is in the following I am building the build project in Grunt, everything seems to work well, but there are 2 problems:
Running "wiredep:target" (wiredep) task
Warning: Cannot read property 'main' of undefined Used --force, continuing.
Running "ngtemplates:main" (ngtemplates) task
File .tmp/templates.js created.
Added .tmp/templates.js to <!-- build:js app/app.js -->
Running "ngtemplates:tmp" (ngtemplates) task
>> No templates found
File .tmp/tmp-templates.js created.
Added .tmp/tmp-templates.js to <!-- build:js app/app.js -->
Answer the question
In order to leave comments, you need to log in
Problems are not visible, warnings are visible :)
Apparently, the templates are not there, or they are not there, or the extension is wrong. Fix the path or move the templates to where grunt expects them to be. It may be okay if templates are not used. More precisely - it is necessary to look at the project.
Never used wiredep, but it looks like some package from bower doesn't have a main field in ... . Again, since this is a warning, and not an error, it means that it somehow performs its task.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question