- Run
npm install - Then open index.html and check the console.
There should be awaylable function datepicker in object tree under the fn key. And in console should not be any errors.
- Remove
node_modulesanddistandyarn.lockif exists - Run
yarn - Then open index.html and check the console.
In node_modules directory under the bootstrap-datepicker I see only the one difference, that there is installed [email protected] as subdependency. Witch is wrong.
bootstrap-datepicker package.json file is depends on
"dependencies": {
"jquery" : ">=1.7.1"
},
But my package.json is requering [email protected] and its covering that required range of versions.