I installed bootstrap via npm install
already and i tried to import it to my App.js file:
import './bootstrap/dist/css/bootstrap.min.css'
But then the app return this on the browser:
TypeError: t(...).isPlaceholder is not a function Could someone please explain why and how to fix? Thank you
For me, I saw these errors when I bumped @babel
dependencies a few minor versions (several packages and plugins).
What helped was removing the node_modules
directory and then installing all the packages again.
rm -rf ./node_modules
yarn
or npm i
I just encountered this error.
To fix it, make sure you're not mixing up your package managers. I was using yarn, but then used npm because that's what we use at work.
you should add or install your modules using the same package manager
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With