How can i login when publish the app

$ expo publish
[19:50:25] Unable to find an existing Expo CLI instance for this directory, starting a new one…
[19:50:40] Starting Metro Bundler on port 19001.
[19:50:41] Successfully ran adb reverse. Localhost URLs should work on the connected Android device.
[19:50:44] Tunnel ready.
[19:50:44] Publishing to channel ‘default’…
[19:50:44] An Expo user account is required to proceed.
[19:50:44] Not logged in. Use function(str) { if (arguments.length === 0) return this._name; this._name = str; return this; } login -u username -p password to log in.

$ expo diagnostics

Expo CLI 3.8.0 environment info:
System:
OS: Windows 7
Binaries:
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.3.0.0 AI-182.5107.16.33.5314842

Hi

That error message looks pretty weird.

Try this:

$ expo whoami
Not logged in
$ expo login
? Username/Email Address: wodin
? Password: [hidden]

Success. You are now logged in as wodin.
$ expo whoami
Logged in as wodin
$ 

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.