bootstrap-webpack icon indicating copy to clipboard operation
bootstrap-webpack copied to clipboard

Cannot resolve module 'bootstrap/js/transition'

Open jiqimaogou opened this issue 9 years ago • 1 comments

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

jiqimaogou avatar Jul 24 '16 09:07 jiqimaogou

I had the same issue, turns out that bootstrap was not installed :)

Try: npm install --save bootstrap

mikedavies-dev avatar Aug 23 '16 16:08 mikedavies-dev