Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix basic example to make install instructions work #1233

Merged
merged 2 commits into from Dec 18, 2018

Conversation

JelteF
Copy link
Contributor

@JelteF JelteF commented Dec 17, 2018

This fixes #1232 (instead of just closing and locking it). The main thing that fixes the install is deleting package-lock.json and regenerating it. I tried investigating further why that helped and it seems to becease two different acorn versions are installed and the main one should be 6.0.4, not 5.7.1. Otherwise you get this weird import error.

@JelteF JelteF changed the title Requesting a pull to styleguidist:master from JelteF:fix-basic-example Fix basic example to make install instructions work Dec 17, 2018
@sapegin
Copy link
Member

sapegin commented Dec 18, 2018

Thanks!

We use Acorn 6 directly, and it's also a dependency of Buble that should be fixed to the version that users version 6 as well. Other than that Acorn is used by ESLint and probably something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Imports in the basic example don't work
2 participants