-
Notifications
You must be signed in to change notification settings - Fork 12
/
npm-debug.log
122 lines (122 loc) · 9.02 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
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 { raw: '.',
7 silly cache add scope: null,
7 silly cache add name: null,
7 silly cache add rawSpec: '.',
7 silly cache add spec: '/Users/alanhortz/Documents/Development/node-metawear',
7 silly cache add type: 'directory' }
8 verbose addLocalDirectory /Users/alanhortz/.npm/node-metawear/1.0.0/package.tgz not in flight; packing
9 verbose correctMkdir /Users/alanhortz/.npm correctMkdir not in flight; initializing
10 verbose tar pack [ '/Users/alanhortz/.npm/node-metawear/1.0.0/package.tgz',
10 verbose tar pack '/Users/alanhortz/Documents/Development/node-metawear' ]
11 verbose tarball /Users/alanhortz/.npm/node-metawear/1.0.0/package.tgz
12 verbose folder /Users/alanhortz/Documents/Development/node-metawear
13 info prepublish [email protected]
14 verbose addLocalTarball adding from inside cache /Users/alanhortz/.npm/node-metawear/1.0.0/package.tgz
15 verbose correctMkdir /Users/alanhortz/.npm correctMkdir not in flight; initializing
16 silly cache afterAdd [email protected]
17 verbose afterAdd /Users/alanhortz/.npm/node-metawear/1.0.0/package/package.json not in flight; writing
18 verbose correctMkdir /Users/alanhortz/.npm correctMkdir not in flight; initializing
19 verbose afterAdd /Users/alanhortz/.npm/node-metawear/1.0.0/package/package.json written
20 silly publish { name: 'node-metawear',
20 silly publish version: '1.0.0',
20 silly publish description: 'API for metawear',
20 silly publish main: 'src/device.js',
20 silly publish dependencies:
20 silly publish { debug: '~2.6.6',
20 silly publish eventemitter2: '~4.1.0',
20 silly publish hashmap: '~2.1.0',
20 silly publish 'noble-device': '1.4.1' },
20 silly publish devDependencies:
20 silly publish { 'buffer-equal': '^1.0.0',
20 silly publish clone: '^2.1.0',
20 silly publish jasmine: '^2.4.1',
20 silly publish 'jasmine-debug': '^0.1.1',
20 silly publish 'jasmine-node': '^1.14.5',
20 silly publish 'jasmine-spec-reporter': '^4.1.0',
20 silly publish mocha: '^3.4.1' },
20 silly publish keywords:
20 silly publish [ 'Metawear',
20 silly publish 'mbientlab',
20 silly publish 'Bluetooth',
20 silly publish 'BTLE',
20 silly publish 'Noble',
20 silly publish 'Bluetooth Low Energy' ],
20 silly publish bugs: { url: 'https://github.com/brainexe/node-metawear/issues' },
20 silly publish repository:
20 silly publish { type: 'git',
20 silly publish url: 'git+ssh://[email protected]/brainexe/node-metawear.git' },
20 silly publish scripts: { test: 'cd tests && node jasmine-runner.js' },
20 silly publish author: { name: 'Matthias Dötsch', email: '[email protected]' },
20 silly publish contributors: [ { name: 'Alan Hortz', email: '[email protected]' } ],
20 silly publish license: 'MIT',
20 silly publish readme: '[![Build Status](https://travis-ci.org/brainexe/node-metawear.svg?branch=master)](https://travis-ci.org/brainexe/node-metawear)\n[![Downloads](https://img.shields.io/npm/dt/node-metawear.svg)]()\n[![Dependencies](https://david-dm.org/brainexe/node-metawear.svg)]()\n\n# Introduction\nnodejs library for MetaWear platform from https://www.mbientlab.com/\n\n# Installation\nBuild package from repository:\n```\ngit clone [email protected]:brainexe/node-metawear.git\ncd node-metawear\nnpm install\n```\nAn alternative is to install the NPM module directly:\n```\nnpm install node-metawear\n```\n\nAdditionally you have to follow some steps, depending of your OS\n\n## Linux (Ubuntu / RaspberryPi)\nInstall required system packages\n```\nsudo apt-get install bluetooth bluez-utils libbluetooth-dev\n```\nThis command grants the node binary cap_net_raw privileges, so it can start/stop BLE advertising. Then you don\'t need the "sudo" prefix anymore:\n```\nsudo setcap cap_net_raw+eip $(eval readlink -f `which node`)\n```\n\n## ChromeOS\nSame as Linux, but the main difference here is that you’ll need to run Node through host-dbus, since it’s accessing the Bluetooth adapter attached through Chrome OS.\n```\nsudo setcap cap_net_raw+eip $(eval readlink -f `which node`)\nexport DEBUG="noble-device" \nhost-dbus node examples/all.js\n```\nthx to [Lance](http://www.polyglotprogramminginc.com/using-metawear-with-node-js/)\n\n## Mac OS\n```\nnpm install\nDEBUG="noble-device" node examples/all.js\n```\n\n## Run\nRun examples in debug output\n```\nDEBUG="noble-device" node examples/all.js\n```\n\n## Functions\nThe functionality is very limited at the moment:\n- Connection Parameters setup\n- Control LED\n- Start buzzer/motor\n- Read/Set Device name\n- Read switch status (+ pressed/release events)\n- Read out battery status\n- Accelerometer / Gyroscope\n- Step counter\n- Temperature sensor\n- Ambient light sensor\n- Barometer sensor\n- BMM150 Magnetometer\n- QUATERNION data from SensorFusion, ONLY FOR METAMOTION R Boards !!\n\n## Next release -> v1.1.0\n- SensorFusion - NDOF mode support for all output types\n- Acceleromter - TAP_CONFIG, ORIENT_CONFIG, FLAT_CONFIG, LOW_HIGH_G_CONFIG\n- Refactoring of the sensor configuration implementation\n\nNote : The versioning restarted at v1.0.0 in order to better handle the major and minor releases as from now.\n\n## Run unit tests\n```\nnpm install -g jasmine\nnpm test\n```\n',
20 silly publish readmeFilename: 'readme.md',
20 silly publish gitHead: '3a17c29860e1419b6260f7eea4808ed091b946c1',
20 silly publish homepage: 'https://github.com/brainexe/node-metawear#readme',
20 silly publish _id: '[email protected]',
20 silly publish _shasum: '7c3cf027dbaa5e7a24af7feb794600e9fc861449',
20 silly publish _from: '.' }
21 verbose getPublishConfig undefined
22 silly mapToRegistry name node-metawear
23 silly mapToRegistry using default registry
24 silly mapToRegistry registry https://registry.npmjs.org/
25 silly mapToRegistry data { raw: 'node-metawear',
25 silly mapToRegistry scope: null,
25 silly mapToRegistry name: 'node-metawear',
25 silly mapToRegistry rawSpec: '',
25 silly mapToRegistry spec: 'latest',
25 silly mapToRegistry type: 'tag' }
26 silly mapToRegistry uri https://registry.npmjs.org/node-metawear
27 verbose publish registryBase https://registry.npmjs.org/
28 silly publish uploading /Users/alanhortz/.npm/node-metawear/1.0.0/package.tgz
29 verbose request uri https://registry.npmjs.org/node-metawear
30 verbose request sending authorization for write operation
31 info attempt registry request try #1 at 3:54:00 PM
32 verbose request using bearer token for auth
33 verbose request id df02100a83faf30f
34 http request PUT https://registry.npmjs.org/node-metawear
35 http 403 https://registry.npmjs.org/node-metawear
36 verbose headers { 'content-type': 'application/json',
36 verbose headers 'cache-control': 'max-age=300',
36 verbose headers 'content-length': '95',
36 verbose headers 'accept-ranges': 'bytes',
36 verbose headers date: 'Tue, 16 May 2017 13:54:02 GMT',
36 verbose headers via: '1.1 varnish',
36 verbose headers connection: 'keep-alive',
36 verbose headers 'x-served-by': 'cache-ams4436-AMS',
36 verbose headers 'x-cache': 'MISS',
36 verbose headers 'x-cache-hits': '0',
36 verbose headers 'x-timer': 'S1494942841.860281,VS0,VE1316',
36 verbose headers vary: 'Accept-Encoding' }
37 verbose request invalidating /Users/alanhortz/.npm/registry.npmjs.org/node-metawear on PUT
38 error publish Failed PUT 403
39 verbose stack Error: "You cannot publish over the previously published version 1.0.0." : node-metawear
39 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
39 verbose stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
39 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
39 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:199:22)
39 verbose stack at Request.emit (events.js:110:17)
39 verbose stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1036:10)
39 verbose stack at Request.emit (events.js:129:20)
39 verbose stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:963:12)
39 verbose stack at IncomingMessage.emit (events.js:129:20)
39 verbose stack at _stream_readable.js:908:16
40 verbose statusCode 403
41 verbose pkgid node-metawear
42 verbose cwd /Users/alanhortz/Documents/Development/node-metawear
43 error Darwin 16.5.0
44 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "publish"
45 error node v0.12.16
46 error npm v2.15.1
47 error code E403
48 error "You cannot publish over the previously published version 1.0.0." : node-metawear
49 error If you need help, you may report this error at:
49 error <https://github.com/npm/npm/issues>
50 verbose exit [ 1, true ]