verekia / js-stack-from-scratch

🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
MIT License
20.05k stars 1.99k forks source link

Yarn test breaks because of importing immutable #168

Closed berkin closed 7 years ago

berkin commented 7 years ago

On chapter 5, yarn test breaks when flow is enabled and immutable is imported. 3: import Immutable from 'immutable'; ^^^^^^^^^ Default import fromimmutable. This module has no default export.

There is an issue on immutable.js about it, the issue seems fixed but not on master yet. https://github.com/facebook/immutable-js/issues/854

verekia commented 7 years ago

Hey, sorry about that. I literally just pushed a tweak to the instructions to install Immutable with yarn add immutable@4.0.0-rc.2

verekia commented 7 years ago

That will fix the issue until it's released in master :)

Cheers!