Expo login fails in Teamcity
Summary
We're using Teamcity for CI/CD. One of the builds contains expo login step
expo login --non-interactive -u %expo.login% -p %expo.password%
In 4.3.3 and 4.3.4 releases this step returns an error. But it disappears after switching back to 4.3.2
Environment
Expo CLI 4.3.4 environment info: System: OS: Linux 4.4 Ubuntu 16.04.7 LTS (Xenial Xerus) Shell: 4.3.48 - /bin/bash Binaries: Node: 12.19.0 - /usr/bin/node Yarn: 1.22.5 - /usr/bin/yarn npm: 6.14.8 - /usr/bin/npm npmPackages: expo: 40.0.0 => 40.0.0 react: 16.13.1 => 16.13.1 react-dom: 16.13.1 => 16.13.1 react-native: https://github.com/expo/react-native/archive/sdk-40.0.0.tar.gz => 0.63.2 react-native-web: 0.13.12 => 0.13.12 npmGlobalPackages: expo-cli: 4.3.4 Expo Workflow: managed
Please specify your device/emulator/simulator platform, model and version
TeamCity Professional 2020.2.3 (build 86002) @ Linux 4.4 Ubuntu 16.04.7 LTS (Xenial Xerus)
Error output
TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at validateString (internal/validators.js:120:11)
at Object.join (path.js:1039:7)
at linux (/usr/lib/node_modules/expo-cli/node_modules/application-config-path/index.js:13:15)
at applicationConfigPath (/usr/lib/node_modules/expo-cli/node_modules/application-config-path/index.js:31:26)
at Object.
Reproducible demo or steps to reproduce from a blank project
- In Teamcity create a Build step with
expo login --non-interactive -u %expo.login% -p %expo.password% - Run the build
Can't reproduce this using bash.
This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.
This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.