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

Version issues in streamline #309

Closed
jwalton opened this issue Dec 7, 2015 · 4 comments
Closed

Version issues in streamline #309

jwalton opened this issue Dec 7, 2015 · 4 comments

Comments

@jwalton
Copy link

jwalton commented Dec 7, 2015

Not 100% sure what part of my project is causing this, but our build broke the other day, complaining about:

Error: Cannot find module 'streamline-runtime/lib/callbacks/regenerator'

If you try:

mkdir temp
cd temp
npm install [email protected]

then you'll notice that ./node_modules/streamline/node_modules/babel-plugin-streamline is v1.0.10, which includes this bit, which I assume is causing the problem?

@jwalton
Copy link
Author

jwalton commented Dec 7, 2015

Yeah, this is definitely the problem. If I `npm install [email protected]" before I install streamline, it fixes it.

@bjouhier
Copy link
Member

bjouhier commented Dec 8, 2015

The change comes from #301

I had to change both babel-plugin-streamline and streamline-runtime. It looks like you are running a newer babel-plugin-streamline and an older streamline-runtime. Updating the streamline-runtime dependency should fix it and work with the latest plugin.

@bjouhier
Copy link
Member

bjouhier commented Dec 8, 2015

Looks like [email protected] is botched. I'm getting a different error with babel-core.

I encourage you to upgrade to latest streamline (1.0.11). It took me a bit of time to stabilize the new structure (with 3 packages). It should be ok now and I can fix problems moving forwards.

@jwalton
Copy link
Author

jwalton commented Dec 16, 2015

Yeah, I thought you might say that. :P Would have been nice to bump the major version for this, though, so it didn't break older versions.

@jwalton jwalton closed this as completed Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants