Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run prod ERROR: #937

Closed
Kikiero opened this issue Aug 12, 2016 · 2 comments
Closed

npm run prod ERROR: #937

Kikiero opened this issue Aug 12, 2016 · 2 comments

Comments

@Kikiero
Copy link

Kikiero commented Aug 12, 2016

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 $SOFTHOME/caravel_install/caravel/caravel/assets/javascripts
@ ./javascripts/caravel-select2.js 5:0-62

What shall I do?

@Kikiero
Copy link
Author

Kikiero commented Aug 12, 2016

解决:
1、 vi caravel/assets/package.json

"jquery-ui": "^1.10.5", -> "jquery-ui": "1.10.5",

2、To install third party libraries defined in package.json, run the following within the caravel/assets/ directory which will install them in a new node_modules/ folder within assets/.

npm install

3、To parse and generate bundled files for caravel, run either of the following commands. The dev flag will keep the npm script running and re-run it upon any changes within the assets directory.

npm run prod

done!!!! :)

@xrmx
Copy link
Contributor

xrmx commented Aug 12, 2016

@PickLiDan It's already fixed in master.

@xrmx xrmx closed this as completed Aug 12, 2016
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 17, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 24, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 25, 2021
zhaoyongjie pushed a commit to zhaoyongjie/incubator-superset that referenced this issue Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants