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

Unexpected error: "The id argument must be of type string. Received undefined" #470

Open
ochoav opened this issue May 24, 2024 · 0 comments

Comments

@ochoav
Copy link

ochoav commented May 24, 2024

I am trying to use this package, but I am getting an error when bundling with Expo!

Here are 2 different ways the error shows up:

[Error: TransformError node_modules/react-native-url-polyfill/index.js: The "id" argument must be of type string. Received undefined]
TypeError: The "id" argument must be of type string. Received undefined
    at validateString (node:internal/validators:162:11)
    at Module.require (node:internal/modules/cjs/loader:1228:3)
    at require (node:internal/modules/helpers:176:18)
    at transformJS (apps/mobile/node_modules/metro-transform-worker/src/index.js:230:35)
    at transformJSWithBabel (apps/mobile/node_modules/metro-transform-worker/src/index.js:372:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.transform (apps/mobile/node_modules/metro-transform-worker/src/index.js:518:12)
error: node_modules/react-native-url-polyfill/index.js: The "id" argument must be of type string. Received undefined

I'm not sure what to make of this! I wonder if it's related to an incompatible metro package alongside the rest of our setup?

Lmk if I can provide more info!

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