Skip to content

Cannot find module: 'isomorphic-form-data' in swagger-ui-react #7436

Closed
@AlexKutkanych

Description

@AlexKutkanych

Q&A (please complete the following information)

  • OS: Win 10
  • Browser: Chrome
  • Version: 91.0.4472.164
  • Method of installation: npm
  • Swagger-UI version: 3.51.1

Describe the bug you're encountering

When running npm run build we ran into a problem with swagger-ui-react package. The error occured in swagger-ui.js - Cannot find module: 'isomorphic-form-data'. Make sure this package is installed.

isomorphic-form-data package is not in node_modules.

Expected behavior

npm run build runs without errors.

Screenshots

image

Additional context or thoughts

When I install isomorphic-form-data package into my project, build works fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions