Nuxt 2.3.4 - exports is not defined after update to rc.13
See original GitHub issueJust updated to latest BootstrapVue v. 2.0.0-rc.13 and my app started to fail. I use custom nuxt plugin for partial component import
nuxt.config.js
:
import Vue from 'vue'
import Collapse from 'bootstrap-vue/es/components/collapse'
import Dropdown from 'bootstrap-vue/es/components/dropdown'
Vue.use(Collapse)
Vue.use(Dropdown)
and I also enabled transpilation of bt-vue es files in nuxt.config.js
transpile: ['bootstrap-vue']
but still I’m getting an error
vendors.app.js:9742 Uncaught ReferenceError: exports is not defined
at Module../node_modules/bootstrap-vue/es/utils/array.js (vendors.app.js:9742)
at __webpack_require__ (runtime~app.js:787)
at fn (runtime~app.js:150)
at Object../node_modules/bootstrap-vue/es/mixins/listen-on-root.js (vendors.app.js:9639)
at __webpack_require__ (runtime~app.js:787)
at fn (runtime~app.js:150)
at Object../node_modules/bootstrap-vue/es/components/collapse/collapse.js (vendors.app.js:7530)
at __webpack_require__ (runtime~app.js:787)
at fn (runtime~app.js:150)
at Object../node_modules/bootstrap-vue/es/components/collapse/index.js (vendors.app.js:7760)
it was working in v. 2.0.0-rc-11, was something related to this process changed in latest release?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Typescript ReferenceError: exports is not defined
It is the root of the error message, and after removing "module": "commonjs", , it will vanish. Share.
Read more >TFM Part 2 Chapter 4700 - Treasury Financial Manual
This Treasury Financial Manual (TFM) chapter prescribes how federal entities provide data for the Financial Report of the United States Government (FR) ...
Read more >Dataproc release notes - Google Cloud
Announcements of new and updated Dataproc and Dataproc Serverless features, bug fixes, known issues, and deprecated functionality.
Read more >WorkManager - Android Developers
New Features. An ability to update WorkRequests in a non-intrusive way was added, preserving original enqueue time, chaining etc. See WorkManager.
Read more >PJM Manual 13:
A condition that requires implementation of emergency procedures as defined in the manuals. The PJM Manual for Emergency Operations consists ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ChunAllen we think this should be fixed in 2.0.0-rc.14, as we now have Babel include the helper code directly in each
es
transpiled module.@tmorehouse I’ve found out where the issue was. Previously I was force compiling bootstrap-vue with
but apparently it’s not needed anymore. Once I’ve removed that from my nuxt.config.js - the error went away 👍