panr / gatsby-starter-hello-friend

Pretty basic starter for Gatsby that covers all of the essentials. All you have to do is start typing!
MIT License
165 stars 71 forks source link

Update for Rambdax 4 (flatMap not found) #21

Closed hrishikesh-k closed 3 years ago

hrishikesh-k commented 3 years ago

Recently, the dependency, rambdax of this starter was updated to version 4 (from 3 that was used in this starter). This included a breaking change and after clearing it out with the creator of the dependency, I found out that, in gatsby-node.js, flatMap has to be replaced with chain. It has 2 occurrences in the file and that fixes it.

I have opened this issue just to let others know if anyone updates their dependencies manually and finds themselves in trouble.

You can check out my discussion here: https://github.com/selfrefactor/rambdax/issues/55