Nuxt.js: Fresh install with Bootstrap crash at first run

Created on 27 May 2019  路  4Comments  路  Source: nuxt/nuxt.js

Version

2.7.1

Reproduction link

http://localhost:3000/

Steps to reproduce

npx create-nuxt-app

Go through the options by selecting Bootstrap, I also picked up Express Server, PWA, Axios, Jest and Universal app.

Run the app... Error.

What is expected ?

TO see the initial nuxt page using Bootstrap-vue

What is actually happening?

Error: SyntaxError. Unexpected identifier

Additional comments?

Nothing to add, it is very easy to reproduce, I tried 3 different fresh installs, tried to load bootstrap-vue as a plugin, nothing worked.

This bug report is available on Nuxt community (#c9275)
bug-report waiting for dependency

Most helpful comment

BootstrapVue 2.0.0-rc.21 will be released shortly with the new fix.

All 4 comments

I try downgrade bootstrap-vue to 2.0.0-rc.20 is work.

Hi. We are investigating this with BootstrapVue core team. es/ build now uses export syntax which seems unsupported by webpack when the file is in node_modules! For now please stick with rc.20

BootstrapVue 2.0.0-rc.21 will be released shortly with the new fix.

Closing this as Bootstrap-vue rc.22 has been released and with rc.22 I cant reproduce the error anymore

Was this page helpful?
0 / 5 - 0 ratings

Related issues

VincentLoy picture VincentLoy  路  3Comments

shyamchandranmec picture shyamchandranmec  路  3Comments

vadimsg picture vadimsg  路  3Comments

vadimsg picture vadimsg  路  3Comments

lazycrazy picture lazycrazy  路  3Comments