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