`npm run dev` in caravel/caravel/assets throws error
I cloned the caravel repository. I installed npm as prescribed in Contributing.md. Then after the required steps, I ran npm run dev to run the local caravel installation.
I see an error log in the console
ERROR in ./javascripts/caravel-select2.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../node_modules/jquery-ui/themes/base/jquery-ui.css in /Users/shashank/Documents/repositories/caravel/caravel/assets/javascripts
@ ./javascripts/caravel-select2.js 5:0-62
Hmm, do you have the latest version of master? This seems to be a duplicate of https://github.com/airbnb/caravel/issues/768 and should have been fixed.
Try uninstalling jquery-ui and re-rerunning npm install to get the correct build version.
@shkr is this fixed for you? If so please close the issue, thanks.
The error still persists. I had to do rm -rf /node_modules/jquery-ui and then npm i [email protected] --save as given in the previous thread.
@kusumakarb with a fresh master npm install correctly install [email protected] here.