-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Bad arguments: First argument should be a string, second should be an array of strings #6
Comments
uhh, can I see your |
There you go, I guess it's |
@blazeu will take a look this weekend, in the meantime, try putting putting the |
That did the trick, thanks! |
Reopening because this probably needs some inspection on why it breaks. |
i've got the same, putting it all the way up (above all style, css-in-js e.g. glamor related stuff) solved it |
it's going to be but still under heavy development so I haven't even "played" with your module I just threw it in for later ;-) |
No problem! |
I you haven't figured it out by then I'll let you know ;) |
You can replicate this issue by updating the example application in this repository to use Haven't had a change to dive too deeply into the issue, but it appears that some functions that aren't supported are being exported by webpack. Logging out
Given that there are 3 The |
Good catch 👍 Fix might be as simple as converting to commonjs style imports / exports in the source or tweaking the webpack config. Will give that a shot and see if it closes out the issue. |
@youfoundron Any joy with this? I've tried to see if I can make any progress, but I don't know enough about webpack / babel to make any real progress. |
With a little hacking, I was able to get some more useful output as to the error:
|
WorkaroundFor anyone else who finds this issue and wants to try and get this running today, the following is currently working for me.
With these hacks I was able to get it running, but in the end I got the following output:
|
throws error when building and then exits.
Using gatsby v1.9.214
The text was updated successfully, but these errors were encountered: