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

expo start fails with ERR_INVALID_ARG_TYPE in watchFile() #22939

Closed
Tracked by #22970
littledivy opened this issue Mar 15, 2024 · 0 comments · Fixed by #22940
Closed
Tracked by #22970

expo start fails with ERR_INVALID_ARG_TYPE in watchFile() #22939

littledivy opened this issue Mar 15, 2024 · 0 comments · Fixed by #22940
Assignees
Labels
bug Something isn't working correctly node compat

Comments

@littledivy
Copy link
Member

divy@divy ~/g/rn-app (master) [1]> deno task start
Task start expo start
Starting project at /home/divy/gh/rn-app
TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received undefined
TypeError [ERR_INVALID_ARG_TYPE]ener" argument must be of type function. Received undefined
    at __node_internal_ (ext:deno_node/internal/validators.mjs:270:13)
    at checkListener (ext:deno_node/_events.mjs:106:3)
    at _addListener (ext:deno_node/_events.mjs:416:3)
    at StatWatcher.addListener (ext:deno_node/_events.mjs:482:10)
    at Object.watchFile (ext:deno_node/_fs/_fs_watch.ts:98:8)
    at FileNotifier.startWatchingFile (file:///home/divy/gh/rn-app/node_modules/.deno/@expo+cli@0.17.8/node_modules/@expo/cli/build/src/utils/FileNotifier.js:81:34)
    at FileNotifier.watchFile (file:///home/divy/gh/rn-app/node_modules/.deno/@expo+cli@0.17.8/node_modules/@expo/cli/build/src/utils/fn.js:14:24)
    at FileNotifier.startObserving (file:///home/divy/gh/rn-app/node_modules/.deno/@expo+cli@0.17.8/node_modules/@expo/cli/build/src/utils/FileNotifier.js:66:25)
    at DevServerManager.watchBabelConfig (file:///home/divy/gh/rn-app/node_modules/.deno/@expo+cli@0.17.8/node_modules/@expo/cli/build/src/start/server/DevServerManager.js:71:18)
    at new DevServerManager (file:///home/divy/gh/rn-app/node_modules/.deno/@expo+cli@0.17.8/node_modules/@expo/cli/build/src/start/server/DevServerManager.js:58:30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly node compat
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant