I\'ve installed Bootstrap 4 using Node and Gulp and when running the application I get the following error
Uncaught ReferenceError: Popper is not def
For those who are here and trying to add popper v2 to Laravel
"popper.js": "^1.12",
so remove this string@popperjs scope name. If you have any v1 poppers used in project follow the migrate guide v1 to v2 from doc. UPD: this sht is required by bootstrap. so, i had to reinstall it after remove. skip this step.npm i @popperjs/corewindow.Popper = require('@popperjs/core')npm run devlet _instance = Popper.createPopper(element, tooltip, {})