flatMap is not a function

See original GitHub issue

Hello.

I’m using this in a Gatsby website (repo, file). Today, I updated to 4.0.1 and my build fails with the error flatMap is not a function (line 77). This worked fine till the 3.7.0. Has something changed? I read the changelog, but, didn’t find anything useful.

Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Hrishikesh-Kcommented, Aug 6, 2020

Yeah, all works great. Thanks!

0reactions
Hrishikesh-Kcommented, Aug 6, 2020

Alright, I had begin trying it, but then NPM is currently down. So, waiting for that to get solved first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

flatMap method over array - (flatMap is not a function)
It means you're using a web browser or other development environment that does not support Array.prototype.
Read more >
flatMap is not a function (typescript) · Issue #427 - GitHub
The most likely cause of this is that the version of node used by your system doesn't support flatMap . flatMap was introduced...
Read more >
TypeError: flatMap is not a function in JavaScript | bobbyhadz
To solve the "TypeError: flatMap is not a function" error, make sure to only call the flatMap method on arrays and in browsers...
Read more >
ERROR: products.flatMap is not a function - n8n community
Hi, I get an error when trying to call a function. Function: let products = item const res = products .flatMap(Object.entries) .map(([ id, ......
Read more >
Object.entries(...).flatMap is not a function - Support
Object.entries(...).flatMap is not a function ... Since then I have always been getting the same error, any idea what it could be or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found