Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

got "Uncaught TypeError: Object(...) is not a function" when import BootstrapVue3 from 'bootstrap-vue-3' #133

Closed
Miayao1919 opened this issue Oct 7, 2021 · 1 comment

Comments

@Miayao1919
Copy link

When try to import BootstrapVue3 from 'bootstrap-vue-3' in main.js, got the error, here are some details:
Uncaught TypeError: Object(...) is not a function at eval (bootstrap-vue-3.es.js?b80d:7)
at Module../node_modules/bootstrap-vue-3/dist/bootstrap-vue-3.es.js (chunk-vendors.js:602)

@Miayao1919
Copy link
Author

problem solved with the help of https://stackoverflow.com/questions/68795955/vue-3-package-update-errors, I did as below and it works now:
rm -rf node_modules/
rm package-lock.json
npm cache verify
npm i && npm up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant