Error TypeError: runner.metro.getBundler... when trying to run the project.
Opened this issue · 2 comments
kamajus3 commented
I'm currently encountering an issue when attempting to run my project using the following command:
yarn run start
I receive the following error in the console:
Development build: Unable to get the default URI scheme for the project. Please make sure the expo-dev-client package is installed. Starting project at /home/carl0smat3us/Documentos/hinode ● Validation Warning: Unknown option "watcher" with value {"additionalExts": ["env.development.local", "env.local", "env.development", "env"]} was found. This is probably a typing mistake. Fixing it will remove this message. Starting Metro Bundler TypeError: runner.metro.getBundler(...).getBundler(...).getWatcher is not a function TypeError: runner.metro.getBundler(...).getBundler(...).getWatcher is not a function at Object.observeFileChanges (/home/carl0smat3us/Documentos/hinode/node_modules/@expo/cli/build/src/start/server/metro/waitForMetroToObserveTypeScriptFile.js:44:60) at MetroBundlerDevServer.watchEnvironmentVariables (/home/carl0smat3us/Documentos/hinode/node_modules/@expo/cli/build/src/start/server/metro/MetroBundlerDevServer.js:209:51) at DevServerManager.watchEnvironmentVariables (/home/carl0smat3us/Documentos/hinode/node_modules/@expo/cli/build/src/start/server/DevServerManager.js:192:35) at startAsync (/home/carl0smat3us/Documentos/hinode/node_modules/@expo/cli/build/src/start/startAsync.js:127:32) error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Configuration Information:
Operating System: Ubuntu 22.04.3 LTS x86_64
Node.js Version: v18.17.1
Yarn Version: 1.22.19
kurogai commented
I need to update this repo since synk changed some package versions, thanks for the information provided
lucas-cota commented
I need to update this repository since synk changed some versions of the package, thanks for the info provided
I have an application with the Expo and also with the same problem, how did you manage to solve it?