8000 Cannot set properties of undefined (setting 'exports') · Issue #100 · oklas/react-app-alias · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot set properties of undefined (setting 'exports') #100
Open
@theIYD

Description

@theIYD

I have a monorepo setup (using TurboRepo) with my CRA app with Craco, inside apps/* folder and a design system inside packages/* folder. The paths to the design system are setup in tsconfig.json.

Previously, I was using the the old plugin craco-alias. I have replaced it with react-app-alias-ex.

However it sometimes does not work with hot reloading i.e when a change is made inside packages/*, I see Cannot set properties of undefined (setting 'exports') as an error on the browser while the craco process shows Files successfully emitted, waiting for typecheck results.... I have to shutdown the server and restart.

Any solutions ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0