In this post i am gonna show you how to eliminate the grunt error for .NET Core project.
Below is the error that i found upon compilation!
Error- “No executable found matching command grunt”
Solution: Open the package manager console and install “npm install -g grunt-cli” packages.
This installs Grunt’s command line interface (CLI) globally.This will put the grunt command in your system path, allowing it to be run from any directory.
Note that installing
grunt-cli does not install the Grunt task runner. The job of the Grunt CLI is simple: run the version of Grunt which has been installed next to a
Gruntfile. This allows multiple versions of Grunt to be installed on the same machine simultaneously.
Upon installing you should see something like this-
Clean the solution and rebuild it and voila!