arielsalminen / vue-design-system

An open source tool for building UI Design Systems with Vue.js
https://vueds.com
MIT License
2.17k stars 225 forks source link

Latest build does not compile #130

Closed sdellis closed 5 years ago

sdellis commented 5 years ago

I clone the vueds repo and do yarn install. Then, I get this error when I try yarn start:

./node_modules/buble/dist/buble-browser.es.js 268:24-34
"export 'default' (imported as 'require$$0') was not found in 'acorn'
elevatebart commented 5 years ago

Thank you for bringing this up.

You are having a buble issue. They updated the acorn-jsx parser and made a failure. Please see https://github.com/Rich-Harris/buble/issues/159 https://github.com/pedronauck/docz/issues/416#issuecomment-430520805 and https://github.com/vue-styleguidist/vue-styleguidist/issues/216

and note that it will be fixed in the next release of vue-styleguidist.

sdellis commented 5 years ago

Thank you for the information, @elevatebart

Do you have a suggestion for a temporary workaround?

elevatebart commented 5 years ago

Update buble with the latest version

yarn install buble
arielsalminen commented 5 years ago

@sdellis @elevatebart Just updated the dependencies and vue-styleguidist to the latest here and the issue should be gone now with the new release.

@sdellis If you want to manually pull the changes, you’ll only have to change the Vue Styleguidist version in package.json to 1.8.10