You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Digging into this, I can see that collectionOf is called internally by arrayOf and objectOf (within the @znck/prop-types package) and that expected is an Array. This error is therefore coming from the fact that the Array instance in Node 10.15.0 doesn't have the flat method on it.
I am using Nuxt, so this error is coming from the server (with a very recent version of Nod) and not the client.
The text was updated successfully, but these errors were encountered:
Further to my previous issue (#2) after installing
@znck/prop-types
as a dev dependency, I am now seeing the error:Stack trace:
Digging into this, I can see that
collectionOf
is called internally byarrayOf
andobjectOf
(within the@znck/prop-types
package) and thatexpected
is an Array. This error is therefore coming from the fact that theArray
instance in Node 10.15.0 doesn't have theflat
method on it.I am using Nuxt, so this error is coming from the server (with a very recent version of Nod) and not the client.
The text was updated successfully, but these errors were encountered: