Skip to content

Attempted import error: 'createFactory' is not exported from 'react' (imported as 'createFactory'). #82

@fredy314

Description

@fredy314

yarn build
yarn run v1.22.22
$ cross-env REACT_APP_BACKEND=true NODE_ENV=production PUBLIC_URL='./' react-app-rewired --openssl-legacy-provider build
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
[BABEL] Note: The code generator has deoptimised the styling of /var/www/matrix/src/images/profile/profilePhoto.svg as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of undefined as it exceeds the max of 500KB.
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: https://github.com/browserslist/update-db#readme
Failed to compile.

Attempted import error: 'createFactory' is not exported from 'react' (imported as 'createFactory').

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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