Skip to content

Ugly build message on master #2190

Closed

Description

@Timer

While testing PWA I ran into this:

Joes-MacBook-Pro:website joe$ yarn build
yarn build v0.24.4
$ react-scripts build 
Creating an optimized production build...
Total precache size is about 3.15 MB for 11 resources.
Failed to compile.

9:0-8 "export 'register' was not found in './register'

Looks fine when running yarn start:

Activity

  1. added this to the 1.0.1 milestone on May 17, 2017
  2. gaearon commented on May 17, 2017

    @gaearon
    Contributor

    In general I think we should reformat common Webpack errors and show them with better messages and more instructions on how to fix (e.g. "this error is commonly caused by [...]")

  3. modified the milestones: 1.0.1, 1.0.0 on May 19, 2017
  4. locked and limited conversation to collaborators on Jan 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions