You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing jquery-ui.css file when running npm run dev #768
I ran into the following issue when trying to set up the assets in my development environment: 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/{path}/caravel/caravel/assets/javascripts @ ./javascripts/caravel-select2.js 5:0-62
Here were the previous commands that led up to the error:
cd /caravel/assets
npm install
npm run dev
Looking at the ../node_modules/jquery-ui/themes/base directory, I don't see any jquery-ui.css file present.
Running Caravel 0.10.0 on OS X 10.11.5 with python 2.7.
Activity
ascott commentedon Jul 15, 2016
i ran into this problem this week too @djbobbydrake. jquery-ui needs to use version
1.10.5and not^1.10.5.i've made the change in this PR and should be merging it tonight. https://github.com/airbnb/caravel/pull/762/files#diff-d2817346ce989351d5ea8705329683c9R57
in the meantime, i would
rm -rf /node_modules/jquery-uiand thennpm i [email protected] --saveascott commentedon Jul 15, 2016
fix is in master.
djbobbydrake commentedon Jul 15, 2016
Thank you @ascott !!