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

Where does Buble store cache? #158

Closed
matthew-dean opened this issue Oct 16, 2018 · 2 comments
Closed

Where does Buble store cache? #158

matthew-dean opened this issue Oct 16, 2018 · 2 comments

Comments

@matthew-dean
Copy link

matthew-dean commented Oct 16, 2018

I'm hitting an issue where a dependency's dependency is Buble, which is failing. Basically when downgrading the dependency, Buble seems to be using a previously converted module. Wiping the projects node_modules/ and package-lock.json file has no effect. And then restoring the original dependency version doesn't fix it either. Once Buble starts erroring out, it continues to error out. We get errors like:

./node_modules/buble/dist/buble-browser.es.js
10283:15-21 'acorn' does not contain an export named 'Parser'.
./node_modules/buble/dist/buble-browser.es.js
263:9-19 "export 'default' (imported as 'require$$0') was not found in 'acorn'
./node_modules/buble/dist/buble-browser.es.js
264:17-27 "export 'default' (imported as 'require$$0') was not found in 'acorn'

The dependencies definitely have the listed exports, but once these errors start, we can't seem to eliminate them. Buble insists any updated modules don't have the exports listed.

How do we reset Buble too a "clean" state? It doesn't seem to re-compile files no matter if you try to delete any installed packages anywhere.

@matthew-dean
Copy link
Author

Oh, it looks like this was caused by react-styleguidist having a ^0.19.3 dependency, which failed when Buble was bumped to 0.19.5.

@adrianheine
Copy link
Member

Closing this in favor of #159.

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

No branches or pull requests

2 participants