Grunt wiredep:app Cannot find Bower packages - gruntjs

After running
yo ionic
from https://github.com/diegonetto/generator-ionic
Then lauching grunt serve i've got this :
Running "wiredep:app" (wiredep) task
Cannot find where you keep your Bower packages.
I'm stuck and I can't get a preview of the app.

I update grunt-wiredep npm install --save-dev grunt-wiredep and then run a bower install bower install jquery --save I call the Grunt task grunt wiredep and it was done without any errors, finally i could run grunt serve

#arnaudlrx 's answer is correct but check if you instal git in your machine , because if you run
bower install jquery --save
but you don't have git installed there nothing will work

Related

symfony webpacke encore node-sass install error

I am cloning the Symfony project form git repository. Project is using webpack encore.
git clone
composer install
npm install
but this produce error in node-sass
Try to rebuild if npm package creates error
npm rebuild node-sass
the problem was solved by running npm install by host machine, because composer install was running also in host machine

jit-grunt: Plugin for the “clean” task not found

After running grunt clean in magento 2.1.3 root folder I get error
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings
Warning: Task "clean" failed. Use --force to continue.
Aborted due to warnings.
I tried npm install clean & npm install clean --save-dev but get the same error.
I looked at the url for static mapping, but it is not clear in the Magento environment what I should add where?
How do I solve this error?
Try this:
npm install grunt-clean --save-dev
or
npm install grunt-contrib-clean --save-dev
Please refer to Gruntfile.js

Unable to install Grunt ?

I've installed grunt :
sudo npm install -g grunt-cli
/Users/user/.nvm/versions/node/v4.3.0/bin/grunt -> /Users/user/.nvm/versions/node/v4.3.0/lib/node_modules/grunt-cli/bin/grunt
/Users/user/.nvm/versions/node/v4.3.0/lib
└── grunt-cli#1.2.0
But when i run grunt i have errors:
grunt
grunt-cli: The grunt command line interface (v1.2.0)
Fatal error: Unable to find local grunt.
If you're seeing this message, grunt hasn't been installed locally to
your project. For more information about installing and configuring grunt,
please see the Getting Started guide:
http://gruntjs.com/getting-started
Where i am wrong please ?
you have to install grunt globally and locally
you have installed the cli globally with the -g flag
now you have to install it locally in your package.json with ...
npm install -SD grunt
then your "grunt" command will work - assuming you have a valid gruntfile
This looks like a duplicate of Fatal error: Unable to find local grunt.
In a nutshell, try running grunt:init or npm:init first (depending on the version you have. See linked question for more details.
install the command-line interface:
npm install -g grunt-cli
install the local task runner:
cd [my project root]
npm install grunt --save-dev
define your Gruntfile.js as per http://gruntjs.com/getting-started#the-gruntfile
run the tasks with: grunt

trying to install Grunt locally

I am trying to install Grunt locally and after typing the following:
npm install grunt-cli --save-dev
I get the following errors:
Do I need to change some network settings?

Why don't we need to install a Bower CLI seperatly?

As the title says, according to tutorials for example we need to install Grunt and Grunt CLI seperately. I was curious as to why this is not the case with Bower?
Why don't I need to install Bower and a Bower CLI seperatly?

Resources