forked from mehmetkose/react-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnpm-debug.log
133 lines (133 loc) · 9.13 KB
/
npm-debug.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'publish' ]
2 info using [email protected]
3 info using [email protected]
4 verbose publish [ '.' ]
5 silly cache add args [ '.', null ]
6 verbose cache add spec .
7 silly cache add parsed spec Result {
7 silly cache add raw: '.',
7 silly cache add scope: null,
7 silly cache add escapedName: null,
7 silly cache add name: null,
7 silly cache add rawSpec: '.',
7 silly cache add spec: '/Users/mehmetkose/webapps/react-websocket',
7 silly cache add type: 'directory' }
8 verbose addLocalDirectory /Users/mehmetkose/.npm/react-websocket/1.1.6/package.tgz not in flight; packing
9 verbose correctMkdir /Users/mehmetkose/.npm correctMkdir not in flight; initializing
10 info lifecycle [email protected]~prepublish: [email protected]
11 silly lifecycle [email protected]~prepublish: no script for prepublish, continuing
12 info lifecycle [email protected]~prepare: [email protected]
13 silly lifecycle [email protected]~prepare: no script for prepare, continuing
14 verbose tar pack [ '/Users/mehmetkose/.npm/react-websocket/1.1.6/package.tgz',
14 verbose tar pack '/Users/mehmetkose/webapps/react-websocket' ]
15 verbose tarball /Users/mehmetkose/.npm/react-websocket/1.1.6/package.tgz
16 verbose folder /Users/mehmetkose/webapps/react-websocket
17 verbose addLocalTarball adding from inside cache /Users/mehmetkose/.npm/react-websocket/1.1.6/package.tgz
18 verbose correctMkdir /Users/mehmetkose/.npm correctMkdir not in flight; initializing
19 silly cache afterAdd [email protected]
20 verbose afterAdd /Users/mehmetkose/.npm/react-websocket/1.1.6/package/package.json not in flight; writing
21 verbose correctMkdir /Users/mehmetkose/.npm correctMkdir not in flight; initializing
22 verbose afterAdd /Users/mehmetkose/.npm/react-websocket/1.1.6/package/package.json written
23 silly publish { name: 'react-websocket',
23 silly publish version: '1.1.6',
23 silly publish description: 'ReactJS Websocket Listener Component',
23 silly publish main: 'build/index.js',
23 silly publish scripts:
23 silly publish { start: 'cross-env NODE_ENV=development node server.js',
23 silly publish 'compile-example': 'webpack',
23 silly publish test: 'echo "Error: no test specified" && exit 1',
23 silly publish prerelease: 'cross-env NODE_ENV=production webpack --config webpack.prod.config.js' },
23 silly publish repository:
23 silly publish { type: 'git',
23 silly publish url: 'git+ssh://[email protected]/mehmetkose/react-websocket.git' },
23 silly publish keywords: [ 'reactjs', 'websocket', 'react', 'connection' ],
23 silly publish maintainers:
23 silly publish [ { name: 'Mehmet Kose',
23 silly publish email: '[email protected]',
23 silly publish url: 'https://mehmetkose.github.io/' },
23 silly publish { name: 'Pim Voeten',
23 silly publish email: '[email protected]',
23 silly publish url: 'http://sedus.com/' } ],
23 silly publish license: 'MIT',
23 silly publish bugs: { url: 'https://github.com/mehmetkose/react-websocket/issues' },
23 silly publish homepage: 'https://github.com/mehmetkose/react-websocket',
23 silly publish example: { script: 'example/component.jsx' },
23 silly publish devDependencies:
23 silly publish { babel: '^5.8.23',
23 silly publish 'babel-loader': '^5.3.1',
23 silly publish 'cross-env': '^3.1.4',
23 silly publish 'prop-types': '^15.5.8',
23 silly publish react: '^15.5.4',
23 silly publish 'react-dom': '^15.5.4',
23 silly publish 'react-hot-loader': '^1.3.0',
23 silly publish webpack: '^1.10.1',
23 silly publish 'webpack-dev-server': '^1.10.1' },
23 silly publish peerDependencies: { react: '>0.14.5', 'react-dom': '>0.14.5' },
23 silly publish readme: '# react-websocket [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/mehmetkose/react-websocket/edit/master/README.md)\n\n`react-websocket` is a simple to use component for ReactJS applications to setup websocket communication.\n\nThe component renders an empty element in the DOM.\nWhen mounting the component, a websocket connection is opened.\nThe connection will be closed when the component will be unmounted.\n\n### Installing\n\n```\nnpm install --save react-websocket\n```\n\n### Usage\n\n```js\n import React from \'react\';\n import Websocket from \'react-websocket\';\n\n class ProductDetail extends React.Component {\n\n constructor(props) {\n super(props);\n this.state = {\n count: 90\n };\n }\n\n handleData(data) {\n let result = JSON.parse(data);\n this.setState({count: this.state.count + result.movement});\n }\n\n render() {\n return (\n <div>\n Count: <strong>{this.state.count}</strong>\n\n <Websocket url=\'ws://localhost:8888/live/product/12345/\' \n onMessage={this.handleData.bind(this)}/>\n </div>\n );\n }\n }\n\n export default ProductDetail;\n```\n\n### Properties\n\n#### url\n\n**required**\nThe url the websocket connection is listening to.\n\n#### onMessage\n\n**required**\nThe callback called when data is received. Data is `JSON.parse`\'d\n\n#### debug\n\ndefault: **false**\nSet to **true** to see console logging\n\n#### reconnect\n\ndefault: **true**\n\naccelerated reconnection time',
23 silly publish readmeFilename: 'README.md',
23 silly publish gitHead: 'f85a5677ef8899d23819754b65a088852c6c754c',
23 silly publish _id: '[email protected]',
23 silly publish _shasum: '1ff5721e8c74c03137517259b40b1438bed79dab',
23 silly publish _from: '.' }
24 info lifecycle [email protected]~prepublishOnly: [email protected]
25 silly lifecycle [email protected]~prepublishOnly: no script for prepublishOnly, continuing
26 verbose getPublishConfig undefined
27 silly mapToRegistry name react-websocket
28 silly mapToRegistry using default registry
29 silly mapToRegistry registry https://registry.npmjs.org/
30 silly mapToRegistry data Result {
30 silly mapToRegistry raw: 'react-websocket',
30 silly mapToRegistry scope: null,
30 silly mapToRegistry escapedName: 'react-websocket',
30 silly mapToRegistry name: 'react-websocket',
30 silly mapToRegistry rawSpec: '',
30 silly mapToRegistry spec: 'latest',
30 silly mapToRegistry type: 'tag' }
31 silly mapToRegistry uri https://registry.npmjs.org/react-websocket
32 verbose publish registryBase https://registry.npmjs.org/
33 silly publish uploading /Users/mehmetkose/.npm/react-websocket/1.1.6/package.tgz
34 verbose request uri https://registry.npmjs.org/react-websocket
35 verbose request sending authorization for write operation
36 info attempt registry request try #1 at 01:19:40
37 verbose request using bearer token for auth
38 verbose request id d92cb347c7f048fc
39 http request PUT https://registry.npmjs.org/react-websocket
40 http 403 https://registry.npmjs.org/react-websocket
41 verbose headers { 'content-type': 'application/json',
41 verbose headers 'cache-control': 'max-age=300',
41 verbose headers 'content-length': '95',
41 verbose headers 'accept-ranges': 'bytes',
41 verbose headers date: 'Tue, 25 Apr 2017 22:19:42 GMT',
41 verbose headers via: '1.1 varnish',
41 verbose headers connection: 'keep-alive',
41 verbose headers 'x-served-by': 'cache-fra1220-FRA',
41 verbose headers 'x-cache': 'MISS',
41 verbose headers 'x-cache-hits': '0',
41 verbose headers 'x-timer': 'S1493158781.848906,VS0,VE1399',
41 verbose headers vary: 'Accept-Encoding' }
42 verbose request invalidating /Users/mehmetkose/.npm/registry.npmjs.org/react-websocket on PUT
43 error publish Failed PUT 403
44 verbose stack Error: "You cannot publish over the previously published version 1.1.6." : react-websocket
44 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:304:12)
44 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:292:14)
44 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:212:14)
44 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:186:22)
44 verbose stack at emitTwo (events.js:106:13)
44 verbose stack at Request.emit (events.js:191:7)
44 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1081:10)
44 verbose stack at emitOne (events.js:96:13)
44 verbose stack at Request.emit (events.js:188:7)
44 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1001:12)
45 verbose statusCode 403
46 verbose pkgid react-websocket
47 verbose cwd /Users/mehmetkose/webapps/react-websocket
48 error Darwin 16.4.0
49 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
50 error node v6.9.4
51 error npm v4.1.1
52 error code E403
53 error "You cannot publish over the previously published version 1.1.6." : react-websocket
54 error If you need help, you may report this error at:
54 error <https://github.com/npm/npm/issues>
55 verbose exit [ 1, true ]