Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running with metro bundler #228

Open
natew opened this issue Nov 24, 2021 · 0 comments
Open

Error running with metro bundler #228

natew opened this issue Nov 24, 2021 · 0 comments

Comments

@natew
Copy link

natew commented Nov 24, 2021

Seems like ow is trying to destructure default off import callsites here:

const callsites_1 = require("callsites");
console.log('callsites_1', callsites_1)
// logs out: callsites_1 [Function (anonymous)]

Causing this:

(0 , callsites_1.default) is not a function
    at ow (/Users/n8/github/tamagui-expo-example/node_modules/ow/dist/index.js:29:53)

An interopRequireDefault type compat layer would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant