Answer the question
In order to leave comments, you need to log in
Can someone help with Node.js (npm) under windows 8.1?
I decided to deal with Node.js. An error occurs when creating a user (npm adduser - I enter a name, e-mail). After the error, npm-debug.log is generated:
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 'adduser' ]
2 info using [email protected]
3 info using [email protected]
4 verbose adduser before first PUT { _id: 'org.couchdb.user:valentine',
4 verbose adduser name: 'valentine',
4 verbose adduser password: 'XXXXX',
4 verbose adduser email: '[email protected]',
4 verbose adduser type: 'user',
4 verbose adduser roles: [],
4 verbose adduser date: '2015-06-10T13:15:52.749Z' }
5 verbose request uri https://registry.npmjs.org/-/user/org.couchdb.user:valentine
6 verbose request new user, so can't send auth
7 info attempt registry request try #1 at 16:15:52
8 verbose request id 49f7c66703fe69de
9 http request PUT https://registry.npmjs.org/-/user/org.couchdb.user:valentine
10 http 400 https://registry.npmjs.org/-/user/org.couchdb.user:valentine
11 verbose headers { 'content-type': 'application/json',
11 verbose headers 'cache-control': 'max-age=60',
11 verbose headers 'content-length': '57',
11 verbose headers 'accept-ranges': 'bytes',
11 verbose headers date: 'Wed, 10 Jun 2015 14:14:51 GMT',
11 verbose headers via: '1.1 varnish',
11 verbose headers connection: 'keep-alive',
11 verbose headers 'x-served-by': 'cache-fra1227-FRA',
11 verbose headers 'x-cache': 'MISS',
11 verbose headers 'x-cache-hits': '0',
11 verbose headers 'x-timer': 'S1433945690.712885,VS0,VE776' }
12 verbose request invalidating C:\Users\Люда\AppData\Roaming\npm-cache\registry.npmjs.org\-\user\org.couchdb.user_3Avalentine on PUT
13 verbose adduser back [ { [Error: Unknown error while authenticating : -/user/org.couchdb.user:valentine] statusCode: 400, code: 'E400' },
13 verbose adduser { ok: false, error: 'Unknown error while authenticating' },
13 verbose adduser '{"ok":false,"error":"Unknown error while authenticating"}' ]
14 verbose stack Error: Unknown error while authenticating : -/user/org.couchdb.user:valentine
14 verbose stack at CachingRegistryClient.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:247:14)
14 verbose stack at Request._callback (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\request.js:170:14)
14 verbose stack at Request.self.callback (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:368:22)
14 verbose stack at Request.emit (events.js:110:17)
14 verbose stack at Request.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1219:14)
14 verbose stack at Request.emit (events.js:129:20)
14 verbose stack at IncomingMessage.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\request\request.js:1167:12)
14 verbose stack at IncomingMessage.emit (events.js:129:20)
14 verbose stack at _stream_readable.js:908:16
14 verbose stack at process._tickCallback (node.js:355:11)
15 verbose statusCode 400
16 verbose cwd C:\node\learnstart\npm\supermodule
17 error Windows_NT 6.2.9200
18 error argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "adduser"
19 error node v0.12.4
20 error npm v2.10.1
21 error code E400
22 error Unknown error while authenticating : -/user/org.couchdb.user:valentine
23 error If you need help, you may report this error at:
23 error <https://github.com/npm/npm/issues>
24 verbose exit [ 1, true ]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question