I am working on angular2 project, i installed bootstrap using npm install bootstrap@4.0.0-beta.3
and then i have this problem ERROR in ./~/bootstrap/dist/js/bootstrap.js
Module not found: Error: Can't resolve 'popper.js' in 'C:\\Users\\Bashar\\Documents\\mont\\saleapp\\node_modules\\bootstrap\\dist\\js' @ ./~/bootstrap/dist/js/bootstrap.js 7:100-120 @ ./ClientApp/boot.browser.ts @ multi event-source-polyfill webpack-hot-middleware/client?path=__webpack_hmr&dynamicPublicPath=true ./ClientApp/boot.browser.ts
I solved the problem by installing popper.js by the following command:
npm install popper.js --save
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.