question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't run docz after a fresh install

See original GitHub issue

Bug Report

Getting an error when running yarn run docz dev on a fresh install (from the getting started guidelines)

To Reproduce

  1. mkdir test_project
  2. yarn add docz
  3. yarn run docz dev
  4. 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!!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:23
  • Comments:20 (8 by maintainers)

github_iconTop GitHub Comments

19reactions
pedronauckcommented, Oct 18, 2018

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 🙏

13reactions
rafaelchiticommented, Oct 17, 2018

Downgrading the local version of buble (which is a dependency of docz) fixed the issue.

yarn add buble@0.19.4

More details here: https://github.com/Rich-Harris/buble/issues/159

Read more comments on GitHub >

github_iconTop Results From Across the Web

SOLVED Fresh Windows 11 install fails due to requirements ...
After answering the keyboard & language questions, the installer displays a dialog saying the system doesn't meet requirements.
Read more >
Troubleshooting Omnibus GitLab installation issues
Run the following to fix this: ... Double check that there are no typos or that the configuration file does not contain obsolete...
Read more >
Overview | Docker Documentation
If you already have Docker Engine and Docker CLI installed, you can install the Compose plugin from the command line, by either: Using...
Read more >
norns: help - monome
If you're unable to supply concrete steps to reliably reproduce the issue, ... This only needs to be done once, but it's important...
Read more >
npm-ci
Clean install a project. ... If true, npm does not run scripts specified in package.json files. Note that commands explicitly intended to run...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found