jquery-bootgrid
jquery-bootgrid copied to clipboard
npm can't find main JS file
First of all, nice plugin, congratulations. :)
I'm working with this package in a Laravel system, and I'm using npm to manage my JS and CSS dependencies. I installed jquery-bootgrid a few months ago, and it worked fine. Recently I had to move my code to another environment and I had a problem when compiling my JS.
The build stopped with this error:
ERROR Failed to compile with 1 errors
This dependency was not found:
* jquery-bootgrid in ./resources/assets/js/app.js
The way I fixed was manually adding the main attribute into the jquery-bootgrid package.json file, like this:
"main": "dist/jquery.bootgrid.js"
My node version is 8.11.1 and npm is 5.6.0.
Am I missing something? Thanks for your help.