Hello fellow developers,
I am currently working with npm bootstrap version 4.5.2 and above.
However, I am facing an issue with the compatibility of @popperjs/core.
If anyone can assist me in resolving the bootstrap.js error temporarily,
specifically related to the popper.js module not being found,
that would be greatly appreciated.
ERROR in ./node_modules/bootstrap/dist/js/bootstrap.js Module not found: Error: Can't resolve 'popper.js' in 'C:\Users\nodefion\Desktop\Website\Wordpress-Websites\Website-1\thema\wp-content\themes\Dolzon-2\node_modules\bootstrap\dist\js' @ ./node_modules/bootstrap/dist/js/bootstrap.js 7:101-121 @ ./src/app.js @ multi ./src/app.js ./src/app.scss
Currently, using npm to install popper.js is not working for me.
I could remove the require('popper.js') line from bootstrap.js,
but I would prefer to integrate @popperjs/core instead,
without having to wait for a fix in the next few months.
We are open to any suggestions or ideas on how to address this issue.
Best regards, The team at Nodefion.com