Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

error when minifying code #3

Closed
Closed
@gabririgo

Description

@gabririgo

react gives me this error:

Failed to minify the code from this file:

./node_modules/@parity/api/format/output.js:19 

Read more here: http://bit.ly/2tRViJ9

From the link:

npm run build fails to minify

You may occasionally find a package you depend on needs compiled or ships code for a non-browser environment.
This is considered poor practice in the ecosystem and does not have an escape hatch in Create React App.

To resolve this:

Open an issue on the dependency's issue tracker and ask that the package be published pre-compiled (retaining ES6 Modules).
Fork the package and publish a corrected version yourself.
If the dependency is small enough, copy it to your src/ folder and treat it as application code.

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