Installation of MetaBase App on Linux

Hi,
I am trying to connect five MetaMotion R devices to program the entire group for an accelerometer assessment. Following the recommendations on the tutorial pages (https://mbientlab.com/tutorials/MetaBaseApp.html) it looks like I need Linux for that. I would appreciate good advices as I need the setup to run some experiments but I am no programmer (rather on a consumer level).

I tried to install the MetaBase App on my notebook with Ubuntu 18.04.2 LTS following the tutorial (https://mbientlab.com/tutorials/Linux.html). I have to say though that I use my Ubuntu but I am not an expert. I understood that I need to install Python (do I need up to Python3 for just using MetaBase), node and npm.

Following the command 'npm install' I get the error message:
make: Verzeichnis „/home/rackoll/MetaWear-SDK-JavaScript/MetaWear-SDK-Cpp“ wird betreten
make: Für das Ziel „build“ ist nichts zu tun.
make: Verzeichnis „/home/rackoll/MetaWear-SDK-JavaScript/MetaWear-SDK-Cpp“ wird verlassen
npm WARN optional Skipping failed optional dependency /noble/xpc-connection:
npm WARN notsup Not compatible with your operating system or architecture: xpc-connection@0.1.4

and consequently when I run 'npm install metawear' I get the log-file attached below. Does that mean that npm was not installed at all or just partly? And what do I have to do to run npm correctly on my notebook. What OS or architecture is needed? I couldn't find any specifications in the tutorial.

Best regards,
Torsten

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', 'metawear' ]
2 info using npm@3.5.2
3 info using node@v8.10.0
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData metawear
8 silly fetchNamedPackageData metawear
9 silly mapToRegistry name metawear
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry uri https://registry.npmjs.org/metawear
13 verbose request uri https://registry.npmjs.org/metawear
14 verbose request no auth needed
15 info attempt registry request try #1 at 05:41:24
16 verbose request id 3ac7d1377de99733
17 verbose etag W/"f5dad6016d4e94b85880a9f54dee422d"
18 verbose lastModified Sun, 11 Nov 2018 01:31:04 GMT
19 http request GET https://registry.npmjs.org/metawear
20 http 304 https://registry.npmjs.org/metawear
21 verbose headers { date: 'Tue, 26 Mar 2019 04:41:25 GMT',
21 verbose headers connection: 'keep-alive',
21 verbose headers 'set-cookie':
21 verbose headers [ '__cfduid=d723cd991532e403d5ff33e9e511a810e1553575284; expires=Wed, 25-Mar-20 04:41:24 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
21 verbose headers 'cf-cache-status': 'REVALIDATED',
21 verbose headers 'cache-control': 'max-age=300',
21 verbose headers 'cf-ray': '4bd673b74b88beda-FRA',
21 verbose headers etag: '"f5dad6016d4e94b85880a9f54dee422d"',
21 verbose headers 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
21 verbose headers 'last-modified': 'Sun, 11 Nov 2018 01:31:04 GMT',
21 verbose headers vary: 'accept-encoding, accept',
21 verbose headers 'x-amz-meta-rev': '9-184d3991b154022f6d30b4a445833aac',
21 verbose headers server: 'cloudflare' }
22 silly get cb [ 304,
22 silly get { date: 'Tue, 26 Mar 2019 04:41:25 GMT',
22 silly get connection: 'keep-alive',
22 silly get 'set-cookie':
22 silly get [ '__cfduid=d723cd991532e403d5ff33e9e511a810e1553575284; expires=Wed, 25-Mar-20 04:41:24 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
22 silly get 'cf-cache-status': 'REVALIDATED',
22 silly get 'cache-control': 'max-age=300',
22 silly get 'cf-ray': '4bd673b74b88beda-FRA',
22 silly get etag: '"f5dad6016d4e94b85880a9f54dee422d"',
22 silly get 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
22 silly get 'last-modified': 'Sun, 11 Nov 2018 01:31:04 GMT',
22 silly get vary: 'accept-encoding, accept',
22 silly get 'x-amz-meta-rev': '9-184d3991b154022f6d30b4a445833aac',
22 silly get server: 'cloudflare' } ]
23 verbose etag https://registry.npmjs.org/metawear from cache
24 verbose get saving metawear to /home/rackoll/.npm/registry.npmjs.org/metawear/.cache.json
25 silly install normalizeTree
26 silly loadCurrentTree Finishing
27 silly loadIdealTree Starting
28 silly install loadIdealTree
29 silly cloneCurrentTree Starting
30 silly install cloneCurrentTreeToIdealTree
31 silly cloneCurrentTree Finishing
32 silly loadShrinkwrap Starting
33 silly install loadShrinkwrap
34 silly loadShrinkwrap Finishing
35 silly loadAllDepsIntoIdealTree Starting
36 silly install loadAllDepsIntoIdealTree
37 silly rollbackFailedOptional Starting
38 silly rollbackFailedOptional Finishing
39 silly runTopLevelLifecycles Starting
40 silly runTopLevelLifecycles Finishing
41 silly install printInstalled
42 verbose stack Error: Refusing to install metawear as a dependency of itself
42 verbose stack at checkSelf (/usr/share/npm/lib/install/validate-args.js:40:14)
42 verbose stack at Array. (/usr/share/npm/node_modules/slide/lib/bind-actor.js:15:8)
42 verbose stack at LOOP (/usr/share/npm/node_modules/slide/lib/chain.js:15:14)
42 verbose stack at chain (/usr/share/npm/node_modules/slide/lib/chain.js:20:5)
42 verbose stack at /usr/share/npm/lib/install/validate-args.js:15:5
42 verbose stack at /usr/share/npm/node_modules/slide/lib/async-map.js:52:35
42 verbose stack at Array.forEach ()
42 verbose stack at /usr/share/npm/node_modules/slide/lib/async-map.js:52:11
42 verbose stack at Array.forEach ()
42 verbose stack at asyncMap (/usr/share/npm/node_modules/slide/lib/async-map.js:51:8)
43 verbose cwd /home/rackoll/MetaWear-SDK-JavaScript/examples
44 error Linux 4.15.0-45-generic
45 error argv "/usr/bin/node" "/usr/bin/npm" "install" "metawear"
46 error node v8.10.0
47 error npm v3.5.2
48 error code ENOSELF
49 error Refusing to install metawear as a dependency of itself
50 error If you need help, you may report this error at:
50 error https://github.com/npm/npm/issues
51 verbose exit [ 1, true ]

Comments

Sign In or Register to comment.