Error EXPO LOGIN

Hi.

When entering the command: expo login

I get the error:

PS C:\work\expo> expo login
√ Username/Email Address: … XXXXXXXX
√ Password: … ******
self signed certificate in certificate chain
Error: self signed certificate in certificate chain
** at TLSSocket.onConnectSecure (node:_tls_wrap:1518:34)**
** at TLSSocket.emit (node:events:376:20)**
** at TLSSocket._finishInit (node:_tls_wrap:942:8)**
** at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:716:12)**

expo diagnostics:
The expected package.json path: C:\work\expo\package.json does not exist
├─ getRootPackageJsonPath C:\Users\taa\AppData\Roaming\npm\node_modules\expo-cli\node_modules@expo\config\src\Modules.ts:76:11
├─ getPackageJsonAndPath C:\Users\taa\AppData\Roaming\npm\node_modules\expo-cli\node_modules@expo\config\src\Config.ts:198:27
├─ getConfig C:\Users\taa\AppData\Roaming\npm\node_modules\expo-cli\node_modules@expo\config\src\Config.ts:102:42
├─ getDefaultTarget C:\Users\taa\AppData\Roaming\npm\node_modules\expo-cli\node_modules@expo\config\src\Config.ts:565:19
├─ actionAsync C:\Users\taa\AppData\Roaming\npm\node_modules\expo-cli\src\commands\diagnostics.ts:37:20
├─ processTicksAndRejections node:internal/process/task_queues:93:5
└─ expo diagnostics C:\Users\taa\AppData\Roaming\npm\node_modules\expo-cli\src\exp.ts:346:7

In configuration npm:

cafile = “C:\work\expo\expo.pem”
NODE_TLS_REJECT_UNAUTHORIZED = “0”
registry = “http://registry.npmjs.org/
strict-ssl = false

HELP PLEASE!

My system: WINDOWS 10

PS C:\work\expo> npm version
{
npm: ‘7.3.0’,
node: ‘15.5.1’,
v8: ‘8.6.395.17-node.23’,
uv: ‘1.40.0’,
zlib: ‘1.2.11’,
brotli: ‘1.0.9’,
ares: ‘1.17.1’,
modules: ‘88’,
nghttp2: ‘1.41.0’,
napi: ‘7’,
llhttp: ‘2.1.3’,
openssl: ‘1.1.1i’,
cldr: ‘38.0’,
icu: ‘68.1’,
tz: ‘2020b’,
unicode: ‘13.0’
}

PS C:\work\expo> expo -V
4.0.17

Hey @zcoder, it looks like you are using an experimental version of Node (odd numbered versions are experimental). Please switch to a stable, release version such as 14.x.x. Once you do that, please let me know if you still have issues logging in via the cli.

Cheers,
Adam

Hi.

Updated version node to 15.6.0.

Unfortunately, the problem remains (

Something with a certificate, but I can not understand what is the reason.

PS C:\work\expo> npm version
{
npm: ‘7.4.0’,
node: ‘15.6.0’,
v8: ‘8.6.395.17-node.23’,
uv: ‘1.40.0’,
zlib: ‘1.2.11’,
brotli: ‘1.0.9’,
ares: ‘1.17.1’,
modules: ‘88’,
nghttp2: ‘1.42.0’,
napi: ‘7’,
llhttp: ‘2.1.3’,
openssl: ‘1.1.1i’,
cldr: ‘38.0’,
icu: ‘68.1’,
tz: ‘2020b’,
unicode: ‘13.0’
}

PS C:\work\expo\learnfast> expo login
┌─────────────────────────────────────────────────────────────────────────┐
│ │
│ There is a new version of expo-cli available (4.1.0). │
│ You are currently using expo-cli 4.0.17 │
│ Install expo-cli globally using the package manager of your choice; │
│ for example: npm install -g expo-cli to get the latest version │
│ │
└─────────────────────────────────────────────────────────────────────────┘
√ Username/Email Address: …XXXXX
√ Password: … ********
self signed certificate in certificate chain
Error: self signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1519:34)
at TLSSocket.emit (node:events:379:20)
at TLSSocket._finishInit (node:_tls_wrap:943:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:716:12)

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