bootstrap-vue: bootstrap-vue/nuxt - SyntaxError Unexpected identifier
Describe the bug
When i install a simple app with npx create-nuxt-app using bootstrap and start npm run dev command showing the error “SyntaxError - Unexpected identifier”
Steps to reproduce the bug
npx create-nuxt-app test- Use a custom server framework: none
- Choose features to install: all you wont or nothing
- Use a custom UI framework: bootstrap
- Use a custom test framework: none
- Choose rendering mode: Universal
- Choose a package manager: npm
cd test/npm run dev- Go to http://localhost:3000/
Expected behavior
I expected to see the Nuxt.js index page.
Versions
Libraries:
- BootstrapVue: ^2.0.0-rc.11
- Bootstrap: ^4.1.3
- Nuxt: ^2.4.0
- cross-env: ^5.2.0
- nodemon: ^1.18.9
Environment:
- Device: Mac
- OS: macOS Mojave
- Browser: Chrome
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 23 (12 by maintainers)
Commits related to this issue
- fix(nuxt): use bundle for development mode (closes #3397) (#3399) — committed to bootstrap-vue/bootstrap-vue by deleted user 5 years ago
- feat(es): revert to tranforming `es/` modules into CJS, and simplify build with top-level named import/exports (closes #3397, #3393, #3323) (#3404) — committed to bootstrap-vue/bootstrap-vue by tmorehouse 5 years ago
FYI if you add this in
nuxt.config.jsto build->transpileproblem bypassed
OK we think we have figured out the issue… we are working on a fix now.
Fix will be available in v2.0.0-rc.22 when released.
Issue solved! No more undefined and no need to transpile
v2.0.0-rc.22 has been released.
We should hopefully have RC.22 out later today.