bootstrap-vue/nuxt - SyntaxError Unexpected identifier
See original GitHub issueDescribe 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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:23 (12 by maintainers)
Top Results From Across the Web
bootstrap-vue, SyntaxError Unexpected identifier
When i run test with ava, problem occurs in component that includes vue-bootstrap import inside.
Read more >BootstrapVue
Quickly integrate Bootstrap v4 components with Vue.js. ... Easily integrate BootstrapVue into your Nuxt.js projects using our included Nuxt.js module.
Read more >[Solved]-Import Unexpected identifier + SyntaxError
Coding example for the question Import Unexpected identifier + SyntaxError: Unexpected string-Vue.js.
Read more >SyntaxError Unexpected Identifier - Get Help - Vue Forum
I want to use this plugin in my Nuxt.js/VuetifyJs application. For this purpose, I created a plugins/datetime-picker.js file: import Vue ...
Read more >ハマりメモ: Nuxtでcreate-nuxt-appでいきなりエラー。Error
Error: SyntaxError. Unexpected identifier ... 結論から言うと、bootstrap-vueを組み込んでプロジェクトを立ち上げるとエラーになる。
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
FYI if you add this in
nuxt.config.js
to build->transpileproblem bypassed
OK we think we have figured out the issue… we are working on a fix now.