bootstrap-webpack
bootstrap-webpack copied to clipboard
Cannot resolve module 'bootstrap/js/transition'
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/transition' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 1:0-34
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/alert' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 2:0-29
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/button' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 3:0-30
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/carousel' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 4:0-32
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/collapse' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 5:0-32
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/dropdown' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 6:0-32
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/modal' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 7:0-29
ERROR in ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js Module not found: Error: Cannot resolve module 'bootstrap/js/tooltip' in /Volumes/taobao/android-service/node_modules/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack @ ./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap-scripts.loader.js!./~/.npminstall/bootstrap-webpack/0.0.5/bootstrap-webpack/bootstrap.config.js 8:0-31
I had the same issue, turns out that bootstrap was not installed :)
Try:
npm install --save bootstrap