Skip to content

CRA4 build error #9696

Closed
Closed
@waynebrantley

Description

@waynebrantley

Existing working typescript based CRA 3.4.x application.

Upgrade to 4.0.0.next.98 react-scripts

when building it gives an error of:

./src/images/shared/logowords.svg (./node_modules/@svgr/webpack/lib?-svgo,+titleProp,+ref!./src/images/shared/logowords.svg)
TypeError: Cannot read property 'tagName' of null

This happens locally and on a clean build server.

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