Skip to content

After upgrading to React 18 version and CRA 5 can not make a build  #12652

@sadashiv-sumasoft

Description

@sadashiv-sumasoft

My React application code compiled successfully but when hit yarn build command failed with following error.

Module not found: Error: Can't resolve 'D:/projects/updateui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js' in 'D:\projects\updateui\src\components'

I have upgrade my application React 16 and CRA 4 to React 18 and CRA 5.
Any suggestion will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions