Reputation: 1253
When I try to install the jquery-validation bower package in VS2015, I am not getting a dist folder under bower_components/jquery-validation while my co-workers are. I'm guessing that I have something configured wrong on my box, but what can it be? FYI, I have VS2015 Update 3, .NET Core 1.0.0 - SDK Preview 2, and .NET Core 1.0.0 - VS 2015 Tooling Preview 2.
Here's an easy way for me to produce the problem on my computer (although it works for others):
Another clue is that I believe that grunt is involved in the creation of the dist folder. The jquery-validation folder has a gruntfile.js file. It seems that perhaps my co-workers have grunt running automatically when they download a bower package, but I'm not sure how to configure that.
Upvotes: 0
Views: 1782
Reputation: 54
I solved exactly the same problem in the following way:
Upvotes: 4
Reputation: 972
I answered a similar question recently for same issue: https://stackoverflow.com/a/39185621/6137718 . This is also solvable by having a grunt-task at the project-level that automatically runs npm install on all bower packages - however, since I'm following a simple tutorial, I did not investigate this further. Below is the answer I submitted for getting the dist
folder populated:
I had a similar issue and was able to fix it by installing grunt globally then running npm install in the jquery-validation folder:
npm install -g grunt
jquery-validation
folder and run npm install
Afterwards, the jquery-validation\dist
folder should show up with the jquery.validate.js
file.
Upvotes: 0
Reputation: 45
check please 'wwwroot/lib'. I think bower should save there packages.
Upvotes: 0