Skip to content

Server side build is failing due to 'window is not defined' #212

Description

@hirenoble

I'm seeing an issue building a Gatsby site which uses this package to generate code sample.
WebpackError: ReferenceError: window is not defined

This is because of this line of code

var MultiPartForm = require('form-data')

any help would be appreciated!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions