Skip to content

Build failing in monorepo #32

@shivamsingha

Description

@shivamsingha

I'm getting this error. I've tried various stuffs but can't fix. I have a monorepo using workspaces and the react-native side is working well. I've setup wml and all. But gatsby is not working.

ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

Can't resolve '@pmmmwh/react-refresh-webpack-plugin/src/overlay' in '*******/web/.cache'

File: .cache/error-overlay-handler.js


 ERROR #98123  WEBPACK

Generating development JavaScript bundle failed

Unexpected token (14:12)

File: node_modules/@myapp/common/dist/App.js:14:12

Also the second error is really weird, it points to this

const App = () => {
    return (<>
           ~~~^~~~~
      <StatusBar barStyle="dark-content"/>

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