docz: Can't run docz after a fresh install
Bug Report
Getting an error when running yarn run docz dev
on a fresh install (from the getting started guidelines)
To Reproduce
- mkdir test_project
- yarn add docz
- yarn run docz dev
- See error
WARNING Compiled with 11 warnings 07:18:24
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
warning in ./node_modules/buble/dist/buble-browser.es.js
"export 'default' (imported as 'require$$0') was not found in 'acorn'
Environment
- OS: [OSX Mojave 10.14]
- Node/npm version: [ Node 8.11.2 /npm 6.4.1 / yarn 1.9.4]
Additional context/Screenshots
Tried on two different computers no luck. A previous project that I had running and configured started failing with the same error after I added a dependency. (I assume a dependency of docz changed and is causing this error?)
Thanks!!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 23
- Comments: 20 (8 by maintainers)
Hi guys, sorry the too late response, last weeks was very hard to me and I couldn’t see anything about docz, but now I available again… I’ll check and try to fix this 🙏
Downgrading the local version of buble (which is a dependency of docz) fixed the issue.
More details here: https://github.com/Rich-Harris/buble/issues/159
@kucukkanat Things happen! Also you spelled “breaks” incorrectly. Maybe you just broke my entire trust in dictionaries.
you can always fix it yourself and keep trusting it.
@pedronauck this can be closed.
buble
fixed their bug so this is no longer an issue again.@rafaelchiti It just builds success. when you open in the browser, The console shows error:
Adding
"buble": "^0.19.6
to your package.json should do the trick.