expo-cli icon indicating copy to clipboard operation
expo-cli copied to clipboard

Expo login fails in Teamcity

Open Altimit opened this issue 5 years ago • 2 comments

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. (/Users/evanbacon/Documents/GitHub/devcert/constants.ts:18:26) at Module._compile (internal/modules/cjs/loader.js:1015:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10) at Module.load (internal/modules/cjs/loader.js:879:32) at Function.Module._load (internal/modules/cjs/loader.js:724:14) at Module.require (internal/modules/cjs/loader.js:903:19) Process exited with code 1

Reproducible demo or steps to reproduce from a blank project

  1. In Teamcity create a Build step with expo login --non-interactive -u %expo.login% -p %expo.password%
  2. Run the build

Can't reproduce this using bash.

Altimit avatar Apr 02 '21 11:04 Altimit

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.

github-actions[bot] avatar Apr 12 '22 17:04 github-actions[bot]

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.

github-actions[bot] avatar Apr 19 '22 18:04 github-actions[bot]