Olá pessoal, estou rodando a instalação dentro da aplicação e estou tendo problemas
console
C:\Users\ungaratt.AUTH\Desktop\alura\alura- HTTP>npm install
npm WARN package.json http-server@1.0.0 No description
npm WARN package.json http-server@1.0.0 No repository field.
npm WARN package.json http-server@1.0.0 No README data
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nod
node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code DEPTH_ZERO_SELF_SIGNED_CERT
npm ERR! self signed certificate
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\ungaratt.AUTH\Desktop\alura\alura- HTTP\npm-debug.log
Log
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' ]
2 info using npm@2.15.5
3 info using node@v4.4.5
4 verbose readDependencies loading dependencies from C:\Users\ungaratt.AUTH\Desktop\alura\alura- HTTP\package.json
5 warn package.json http-server@1.0.0 No description
6 warn package.json http-server@1.0.0 No repository field.
7 warn package.json http-server@1.0.0 No README data
8 verbose install where, deps [ 'C:\\Users\\ungaratt.AUTH\\Desktop\\alura\\alura- HTTP',
8 verbose install [ 'body-parser', 'express', 'express-session' ] ]
9 verbose install where, peers [ 'C:\\Users\\ungaratt.AUTH\\Desktop\\alura\\alura- HTTP', [] ]
10 verbose installManyTop reading for lifecycle C:\Users\ungaratt.AUTH\Desktop\alura\alura- HTTP\package.json
11 info preinstall http-server@1.0.0
12 verbose readDependencies loading dependencies from C:\Users\ungaratt.AUTH\Desktop\alura\alura- HTTP\package.json
13 silly cache add args [ 'express@^4.12.4', null ]
14 verbose cache add spec express@^4.12.4
15 silly cache add parsed spec Result {
15 silly cache add raw: 'express@^4.12.4',
15 silly cache add scope: null,
15 silly cache add name: 'express',
15 silly cache add rawSpec: '^4.12.4',
15 silly cache add spec: '>=4.12.4 <5.0.0',
15 silly cache add type: 'range' }
16 silly addNamed express@>=4.12.4 <5.0.0
17 verbose addNamed ">=4.12.4 <5.0.0" is a valid semver range for express
18 silly addNameRange { name: 'express', range: '>=4.12.4 <5.0.0', hasData: false }
19 silly mapToRegistry name express
20 silly mapToRegistry using default registry
21 silly mapToRegistry registry https://registry.npmjs.org/
22 silly mapToRegistry data Result {
22 silly mapToRegistry raw: 'express',
22 silly mapToRegistry scope: null,
22 silly mapToRegistry name: 'express',
22 silly mapToRegistry rawSpec: '',
22 silly mapToRegistry spec: 'latest',
22 silly mapToRegistry type: 'tag' }
23 silly mapToRegistry uri https://registry.npmjs.org/express
24 verbose addNameRange registry:https://registry.npmjs.org/express not in flight; fetching
25 silly cache add args [ 'express-session@^1.11.2', null ]
26 verbose cache add spec express-session@^1.11.2
27 silly cache add parsed spec Result {
27 silly cache add raw: 'express-session@^1.11.2',
27 silly cache add scope: null,
27 silly cache add name: 'express-session',
27 silly cache add rawSpec: '^1.11.2',
27 silly cache add spec: '>=1.11.2 <2.0.0',
27 silly cache add type: 'range' }
28 silly addNamed express-session@>=1.11.2 <2.0.0
29 verbose addNamed ">=1.11.2 <2.0.0" is a valid semver range for express-session
30 silly addNameRange { name: 'express-session',
30 silly addNameRange range: '>=1.11.2 <2.0.0',
30 silly addNameRange hasData: false }
31 silly mapToRegistry name express-session
32 silly mapToRegistry using default registry
33 silly mapToRegistry registry https://registry.npmjs.org/
34 silly mapToRegistry data Result {
34 silly mapToRegistry raw: 'express-session',
34 silly mapToRegistry scope: null,
34 silly mapToRegistry name: 'express-session',
34 silly mapToRegistry rawSpec: '',
34 silly mapToRegistry spec: 'latest',
34 silly mapToRegistry type: 'tag' }
35 silly mapToRegistry uri https://registry.npmjs.org/express-session
36 verbose addNameRange registry:https://registry.npmjs.org/express-session not in flight; fetching
37 silly cache add args [ 'body-parser@^1.12.4', null ]
38 verbose cache add spec body-parser@^1.12.4
39 silly cache add parsed spec Result {
39 silly cache add raw: 'body-parser@^1.12.4',
39 silly cache add scope: null,
39 silly cache add name: 'body-parser',
39 silly cache add rawSpec: '^1.12.4',
39 silly cache add spec: '>=1.12.4 <2.0.0',
39 silly cache add type: 'range' }
40 silly addNamed body-parser@>=1.12.4 <2.0.0
41 verbose addNamed ">=1.12.4 <2.0.0" is a valid semver range for body-parser
42 silly addNameRange { name: 'body-parser', range: '>=1.12.4 <2.0.0', hasData: false }
43 silly mapToRegistry name body-parser
44 silly mapToRegistry using default registry
45 silly mapToRegistry registry https://registry.npmjs.org/
46 silly mapToRegistry data Result {
46 silly mapToRegistry raw: 'body-parser',
46 silly mapToRegistry scope: null,
46 silly mapToRegistry name: 'body-parser',
46 silly mapToRegistry rawSpec: '',
46 silly mapToRegistry spec: 'latest',
46 silly mapToRegistry type: 'tag' }
47 silly mapToRegistry uri https://registry.npmjs.org/body-parser
48 verbose addNameRange registry:https://registry.npmjs.org/body-parser not in flight; fetching
49 verbose request uri https://registry.npmjs.org/express
50 verbose request no auth needed
51 info attempt registry request try #1 at 15:07:07
52 verbose request id 8a613d02237cb9d7
53 http request GET https://registry.npmjs.org/express
54 verbose request uri https://registry.npmjs.org/express-session
55 verbose request no auth needed
56 info attempt registry request try #1 at 15:07:07
57 http request GET https://registry.npmjs.org/express-session
58 verbose request uri https://registry.npmjs.org/body-parser
59 verbose request no auth needed
60 info attempt registry request try #1 at 15:07:07
61 http request GET https://registry.npmjs.org/body-parser
62 info retry will retry, error on last attempt: Error: self signed certificate
63 info retry will retry, error on last attempt: Error: self signed certificate
64 info retry will retry, error on last attempt: Error: self signed certificate
65 info attempt registry request try #2 at 15:07:18
66 http request GET https://registry.npmjs.org/express
67 info attempt registry request try #2 at 15:07:18
68 http request GET https://registry.npmjs.org/express-session
69 info attempt registry request try #2 at 15:07:18
70 http request GET https://registry.npmjs.org/body-parser
71 info retry will retry, error on last attempt: Error: self signed certificate
72 info retry will retry, error on last attempt: Error: self signed certificate
73 info retry will retry, error on last attempt: Error: self signed certificate
74 info attempt registry request try #3 at 15:08:18
75 http request GET https://registry.npmjs.org/express
76 info attempt registry request try #3 at 15:08:18
77 http request GET https://registry.npmjs.org/express-session
78 info attempt registry request try #3 at 15:08:18
79 http request GET https://registry.npmjs.org/body-parser
80 verbose stack Error: self signed certificate
80 verbose stack at Error (native)
80 verbose stack at TLSSocket.<anonymous> (_tls_wrap.js:1017:38)
80 verbose stack at emitNone (events.js:67:13)
80 verbose stack at TLSSocket.emit (events.js:166:7)
80 verbose stack at TLSSocket._init.ssl.onclienthello.ssl.oncertcb.TLSSocket._finishInit (_tls_wrap.js:582:8)
80 verbose stack at TLSWrap.ssl.onclienthello.ssl.oncertcb.ssl.onnewsession.ssl.onhandshakedone (_tls_wrap.js:424:38)
81 verbose cwd C:\Users\ungaratt.AUTH\Desktop\alura\alura- HTTP
82 error Windows_NT 6.1.7601
83 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
84 error node v4.4.5
85 error npm v2.15.5
86 error code DEPTH_ZERO_SELF_SIGNED_CERT
87 error self signed certificate
88 error If you need help, you may report this error at:
88 error <https://github.com/npm/npm/issues>
89 verbose exit [ 1, true ]