renesansz / discord-greeter-bot

My greeter bot for Discord
MIT License
49 stars 38 forks source link

UNABLE_TO_VERIFY_LEAF_SIGNATURE #200

Closed B4ttleMast0r closed 5 years ago

B4ttleMast0r commented 5 years ago
npm install discord.io winston --save
npm ERR! code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! request to https://registry.npmjs.org/winston failed, reason: unable to verify the first certificate

npm ERR! A complete log of this run can be found in:

Log says:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   'discord.io',
1 verbose cli   'winston',
1 verbose cli   '--save' ]
2 info using npm@6.4.1
3 info using node@v10.15.0
4 verbose npm-session e64049068dd43f1e
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData error for winston@latest request to https://registry.npmjs.org/winston failed, reason: unable to verify the first certificate
8 silly fetchPackageMetaData error for discord.io@latest request to https://registry.npmjs.org/discord.io failed, reason: unable to verify the first certificate
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 445ms
11 verbose type system
12 verbose stack FetchError: request to https://registry.npmjs.org/winston failed, reason: unable to verify the first certificate
12 verbose stack     at ClientRequest.req.on.err (C:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\index.js:68:14)
12 verbose stack     at ClientRequest.emit (events.js:182:13)
12 verbose stack     at TLSSocket.socketErrorListener (_http_client.js:392:9)
12 verbose stack     at TLSSocket.emit (events.js:182:13)
12 verbose stack     at emitErrorNT (internal/streams/destroy.js:82:8)
12 verbose stack     at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
12 verbose stack     at process._tickCallback (internal/process/next_tick.js:63:19)
13 verbose cwd C:\Users\[Username]\Favorites\Discord Bot\Wumpus's Sensei\Code
14 verbose Windows_NT 10.0.16299
15 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "discord.io" "winston" "--save"
16 verbose node v10.15.0
17 verbose npm  v6.4.1
18 error code UNABLE_TO_VERIFY_LEAF_SIGNATURE
19 error errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
20 error request to https://registry.npmjs.org/winston failed, reason: unable to verify the first certificate
21 verbose exit [ 1, true ]
stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.