children.join is not a function
See original GitHub issueI’m seeing some strange behavior since upgrading to 2.4.1.
I’m getting an error related to the HeadManager
, and it seems similar to #910, however the behavior is different.
When the app loads for the first time, some of the Css is missing. I’m assuming this is due to the error with the HeadManager
, since I’m loading styles through the next/head
component.
<Head>
{/* other stuff */}
<style>{styles}</style>
</Head>
Here is a screenshot of the error message, along with the screen without the proper CSS. After a while, the screen refreshes with the proper CSS. This also happens in production.

Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
TypeError: children.join is not a function #17786 - GitHub
TypeError: children.join is not a function at C:\Users\user\Documents\Social\node_modules\next\dist\next-server\server\render.js:17:275 at ...
Read more >TypeError: children is not a function - javascript - Stack Overflow
i was trying to edit the onsubmtit function. I am trying to make database take the data from the user which is in...
Read more >TypeError: join is not a function in JavaScript | bobbyhadz
The "TypeError: join is not a function" occurs when we call the join() method on a value that is not an array. To...
Read more >selection.join / D3 - Observable
D3's data join lets you specify exactly what happens to the DOM as data changes. ... By passing functions to selection.join, you can...
Read more >How to solve the "is not a function" error in JavaScript
js we use require() to load external modules and files. This can cause, in some cases, an error like this: TypeError: require(...) is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tgoldenberg maybe we need to make it more obvious from the name. But this example includes scss compilation https://github.com/zeit/next.js/tree/v3-beta/examples/with-external-scoped-css
@tgoldenberg Did you ever find a solution to your babel warning/error? I have the same issue –