jonrhall / swill-sdk

SDK for CraftBeerPi3
MIT License
10 stars 1 forks source link

Installation failed #1

Open MiracelVip opened 6 years ago

MiracelVip commented 6 years ago

I tried to install the SDK but it's not working with latest raspian. npm is not part of raspian anymore.

Also the tutorial is wrong. After clone you have to "cd swill-sdk". This is the output of "npm install":


pi@craftbeerpi:~/swill-sdk $ npm install
(node:7582) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN package.json expect.js@0.3.1 No license field.
npm ERR! Error: Method Not Allowed
npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR!     at /usr/share/npm/lib/cache/add-named.js:120:12
npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.14.52-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/swill-sdk
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/swill-sdk/npm-debug.log
npm ERR! not ok code 0

and this is the debug.log


0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install' ]
2 info using npm@1.4.21
3 info using node@v8.11.1
4 verbose readDependencies using package.json deps
5 verbose install where, deps [ '/home/pi/swill-sdk',
5 verbose install   [ 'node-fetch',
5 verbose install     'socket.io-client',
5 verbose install     'babel-core',
5 verbose install     'babel-eslint',
5 verbose install     'babel-loader',
5 verbose install     'babel-plugin-transform-runtime',
5 verbose install     'babel-polyfill',
5 verbose install     'babel-preset-env',
5 verbose install     'babel-preset-stage-0',
5 verbose install     'babel-runtime',
5 verbose install     'eslint',
5 verbose install     'eslint-loader',
5 verbose install     'expect.js',
5 verbose install     'html-webpack-plugin',
5 verbose install     'mocha',
5 verbose install     'mock-require',
5 verbose install     'nyc',
5 verbose install     'sinon',
5 verbose install     'webpack',
5 verbose install     'webpack-cli',
5 verbose install     'webpack-dev-server',
5 verbose install     'yargs' ] ]
6 info preinstall swill-sdk@1.0.0
7 warn package.json expect.js@0.3.1 No license field.
8 verbose readDependencies using package.json deps
9 verbose already installed skipping babel-plugin-transform-runtime@^6.23.0 /home/pi/swill-sdk
10 verbose already installed skipping babel-polyfill@^6.26.0 /home/pi/swill-sdk
11 verbose already installed skipping babel-preset-env@^1.6.1 /home/pi/swill-sdk
12 verbose already installed skipping babel-preset-stage-0@^6.24.1 /home/pi/swill-sdk
13 verbose already installed skipping babel-runtime@^6.26.0 /home/pi/swill-sdk
14 verbose already installed skipping eslint@^4.19.1 /home/pi/swill-sdk
15 verbose already installed skipping eslint-loader@^2.0.0 /home/pi/swill-sdk
16 verbose already installed skipping expect.js@^0.3.1 /home/pi/swill-sdk
17 verbose already installed skipping html-webpack-plugin@^3.2.0 /home/pi/swill-sdk
18 verbose already installed skipping mocha@^5.0.5 /home/pi/swill-sdk
19 verbose already installed skipping mock-require@^3.0.2 /home/pi/swill-sdk
20 verbose already installed skipping nyc@^11.6.0 /home/pi/swill-sdk
21 verbose already installed skipping sinon@^4.5.0 /home/pi/swill-sdk
22 verbose already installed skipping webpack@^4.5.0 /home/pi/swill-sdk
23 verbose already installed skipping webpack-cli@^2.0.14 /home/pi/swill-sdk
24 verbose already installed skipping webpack-dev-server@^3.1.3 /home/pi/swill-sdk
25 verbose already installed skipping yargs@^11.0.0 /home/pi/swill-sdk
26 verbose already installed skipping node-fetch@^2.1.2 /home/pi/swill-sdk
27 verbose already installed skipping socket.io-client@^2.0.4 /home/pi/swill-sdk
28 verbose already installed skipping babel-core@^6.26.0 /home/pi/swill-sdk
29 verbose cache add [ 'babel-eslint@^8.2.2', null ]
30 verbose cache add name=undefined spec="babel-eslint@^8.2.2" args=["babel-eslint@^8.2.2",null]
31 verbose parsed url Url {
31 verbose parsed url   protocol: null,
31 verbose parsed url   slashes: null,
31 verbose parsed url   auth: null,
31 verbose parsed url   host: null,
31 verbose parsed url   port: null,
31 verbose parsed url   hostname: null,
31 verbose parsed url   hash: null,
31 verbose parsed url   search: null,
31 verbose parsed url   query: null,
31 verbose parsed url   pathname: 'babel-eslint@%5E8.2.2',
31 verbose parsed url   path: 'babel-eslint@%5E8.2.2',
31 verbose parsed url   href: 'babel-eslint@%5E8.2.2' }
32 verbose already installed skipping babel-loader@^7.1.4 /home/pi/swill-sdk
33 verbose cache add name="babel-eslint" spec="^8.2.2" args=["babel-eslint","^8.2.2"]
34 verbose parsed url Url {
34 verbose parsed url   protocol: null,
34 verbose parsed url   slashes: null,
34 verbose parsed url   auth: null,
34 verbose parsed url   host: null,
34 verbose parsed url   port: null,
34 verbose parsed url   hostname: null,
34 verbose parsed url   hash: null,
34 verbose parsed url   search: null,
34 verbose parsed url   query: null,
34 verbose parsed url   pathname: '%5E8.2.2',
34 verbose parsed url   path: '%5E8.2.2',
34 verbose parsed url   href: '%5E8.2.2' }
35 verbose addNamed [ 'babel-eslint', '^8.2.2' ]
36 verbose addNamed [ null, '>=8.2.2 <9.0.0' ]
37 silly lockFile 0516b6ee-babel-eslint-8-2-2 babel-eslint@^8.2.2
38 verbose lock babel-eslint@^8.2.2 /root/.npm/0516b6ee-babel-eslint-8-2-2.lock
39 silly addNameRange { name: 'babel-eslint', range: '>=8.2.2 <9.0.0', hasData: false }
40 verbose request where is /babel-eslint
41 verbose request registry https://registry.npmjs.org/
42 verbose request id ac3a8a858a27b8e0
43 verbose url raw /babel-eslint
44 verbose url resolving [ 'https://registry.npmjs.org/', './babel-eslint' ]
45 verbose url resolved https://registry.npmjs.org/babel-eslint
46 verbose request where is https://registry.npmjs.org/babel-eslint
47 info trying registry request attempt 1 at 20:13:13
48 verbose etag W/"b3969effdc5db9aad98b487a7c1ca3f9"
49 http GET https://registry.npmjs.org/babel-eslint
50 http 304 https://registry.npmjs.org/babel-eslint
51 silly registry.get cb [ 304,
51 silly registry.get   { date: 'Mon, 23 Jul 2018 18:13:13 GMT',
51 silly registry.get     connection: 'close',
51 silly registry.get     'set-cookie':
51 silly registry.get      [ '__cfduid=d80b1f0bc6aa63ff4d79b5f28838b80ae1532369593; expires=Tue, 23-Jul-19 18:13:13 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
51 silly registry.get     'cache-control': 'max-age=300',
51 silly registry.get     'cf-cache-status': 'HIT',
51 silly registry.get     'cf-ray': '43f01ea5fa356409-FRA',
51 silly registry.get     etag: '"b3969effdc5db9aad98b487a7c1ca3f9"',
51 silly registry.get     'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
51 silly registry.get     'last-modified': 'Thu, 12 Jul 2018 13:53:59 GMT',
51 silly registry.get     vary: 'accept-encoding, accept',
51 silly registry.get     server: 'cloudflare' } ]
52 verbose etag https://registry.npmjs.org/babel-eslint from cache
53 silly addNameRange number 2 { name: 'babel-eslint', range: '>=8.2.2 <9.0.0', hasData: true }
54 silly addNameRange versions [ 'babel-eslint',
54 silly addNameRange   [ '1.0.0',
54 silly addNameRange     '1.0.1',
54 silly addNameRange     '1.0.2',
54 silly addNameRange     '1.0.3',
54 silly addNameRange     '1.0.4',
54 silly addNameRange     '1.0.6',
54 silly addNameRange     '1.0.7',
54 silly addNameRange     '1.0.8',
54 silly addNameRange     '1.0.9',
54 silly addNameRange     '1.0.10',
54 silly addNameRange     '1.0.11',
54 silly addNameRange     '1.0.12',
54 silly addNameRange     '1.0.13',
54 silly addNameRange     '1.0.14',
54 silly addNameRange     '2.0.0',
54 silly addNameRange     '2.0.2',
54 silly addNameRange     '3.0.0',
54 silly addNameRange     '3.0.1',
54 silly addNameRange     '3.1.0',
54 silly addNameRange     '3.1.1',
54 silly addNameRange     '3.1.3',
54 silly addNameRange     '3.1.4',
54 silly addNameRange     '3.1.5',
54 silly addNameRange     '3.1.6',
54 silly addNameRange     '3.1.7',
54 silly addNameRange     '3.1.8',
54 silly addNameRange     '3.1.9',
54 silly addNameRange     '3.1.10',
54 silly addNameRange     '3.1.11',
54 silly addNameRange     '3.1.12',
54 silly addNameRange     '3.1.13',
54 silly addNameRange     '3.1.14',
54 silly addNameRange     '3.1.15',
54 silly addNameRange     '3.1.16',
54 silly addNameRange     '3.1.17',
54 silly addNameRange     '3.1.18',
54 silly addNameRange     '3.1.19',
54 silly addNameRange     '3.1.20',
54 silly addNameRange     '3.1.21',
54 silly addNameRange     '3.1.22',
54 silly addNameRange     '3.1.23',
54 silly addNameRange     '3.1.24',
54 silly addNameRange     '3.1.25',
54 silly addNameRange     '3.1.26',
54 silly addNameRange     '3.1.27',
54 silly addNameRange     '4.0.0',
54 silly addNameRange     '4.0.1',
54 silly addNameRange     '4.0.2',
54 silly addNameRange     '3.1.28',
54 silly addNameRange     '4.0.3',
54 silly addNameRange     '3.1.29',
54 silly addNameRange     '4.0.4',
54 silly addNameRange     '3.1.30',
54 silly addNameRange     '4.0.5',
54 silly addNameRange     '4.0.6',
54 silly addNameRange     '4.0.7',
54 silly addNameRange     '4.0.8',
54 silly addNameRange     '4.0.9',
54 silly addNameRange     '4.0.10',
54 silly addNameRange     '4.1.0',
54 silly addNameRange     '4.1.1',
54 silly addNameRange     '4.1.2',
54 silly addNameRange     '4.1.3',
54 silly addNameRange     '4.1.4',
54 silly addNameRange     '4.1.5',
54 silly addNameRange     '4.1.6',
54 silly addNameRange     '5.0.0-beta1',
54 silly addNameRange     '5.0.0-beta2',
54 silly addNameRange     '5.0.0-beta3',
54 silly addNameRange     '5.0.0-beta4',
54 silly addNameRange     '5.0.0-beta5',
54 silly addNameRange     '5.0.0-beta6',
54 silly addNameRange     '5.0.0-beta7',
54 silly addNameRange     '5.0.0-beta8',
54 silly addNameRange     '5.0.0-beta9',
54 silly addNameRange     '4.1.7',
54 silly addNameRange     '5.0.0-beta10',
54 silly addNameRange     '4.1.8',
54 silly addNameRange     '5.0.0',
54 silly addNameRange     '6.0.0-beta.1',
54 silly addNameRange     '6.0.0-beta.2',
54 silly addNameRange     '6.0.0-beta.3',
54 silly addNameRange     '6.0.0-beta.4',
54 silly addNameRange     '6.0.0-beta.5',
54 silly addNameRange     '6.0.0-beta.6',
54 silly addNameRange     '5.0.1',
54 silly addNameRange     '6.0.0',
54 silly addNameRange     '5.0.2',
54 silly addNameRange     '5.0.3',
54 silly addNameRange     '6.0.1',
54 silly addNameRange     '6.0.2',
54 silly addNameRange     '5.0.4',
54 silly addNameRange     '6.0.3',
54 silly addNameRange     '6.0.4',
54 silly addNameRange     '6.0.5',
54 silly addNameRange     '6.1.0',
54 silly addNameRange     '6.1.1',
54 silly addNameRange     '6.1.2',
54 silly addNameRange     '7.0.0',
54 silly addNameRange     '7.1.0',
54 silly addNameRange     ... 26 more items ] ]
55 verbose addNamed [ 'babel-eslint', '8.2.6' ]
56 verbose addNamed [ '8.2.6', '8.2.6' ]
57 silly lockFile f57b4675-babel-eslint-8-2-6 babel-eslint@8.2.6
58 verbose lock babel-eslint@8.2.6 /root/.npm/f57b4675-babel-eslint-8-2-6.lock
59 silly lockFile f57b4675-babel-eslint-8-2-6 babel-eslint@8.2.6
60 silly lockFile f57b4675-babel-eslint-8-2-6 babel-eslint@8.2.6
61 silly lockFile 0516b6ee-babel-eslint-8-2-2 babel-eslint@^8.2.2
62 silly lockFile 0516b6ee-babel-eslint-8-2-2 babel-eslint@^8.2.2
63 silly resolved [ { name: 'babel-eslint',
63 silly resolved     version: '8.2.6',
63 silly resolved     description: 'Custom parser for ESLint',
63 silly resolved     main: 'lib/index.js',
63 silly resolved     files: [ 'lib' ],
63 silly resolved     repository:
63 silly resolved      { type: 'git',
63 silly resolved        url: 'git+https://github.com/babel/babel-eslint.git' },
63 silly resolved     dependencies:
63 silly resolved      { '@babel/code-frame': '7.0.0-beta.44',
63 silly resolved        '@babel/traverse': '7.0.0-beta.44',
63 silly resolved        '@babel/types': '7.0.0-beta.44',
63 silly resolved        babylon: '7.0.0-beta.44',
63 silly resolved        'eslint-scope': '3.7.1',
63 silly resolved        'eslint-visitor-keys': '^1.0.0' },
63 silly resolved     scripts:
63 silly resolved      { test: 'npm run lint && npm run test-only',
63 silly resolved        'test-only': 'mocha && mocha --require test/fixtures/preprocess-to-patch.js && mocha --require test/fixtures/use-eslint-old.js',
63 silly resolved        lint: 'eslint index.js babylon-to-espree test',
63 silly resolved        fix: 'eslint index.js babylon-to-espree test --fix',
63 silly resolved        precommit: 'lint-staged',
63 silly resolved        preversion: 'npm test',
63 silly resolved        changelog: 'git log `git describe --tags --abbrev=0`..HEAD --pretty=format:\' * %s (%an)\' | grep -v \'Merge pull request\'' },
63 silly resolved     author: { name: 'Sebastian McKenzie', email: 'sebmck@gmail.com' },
63 silly resolved     license: 'MIT',
63 silly resolved     engines: { node: '>=4' },
63 silly resolved     bugs: { url: 'https://github.com/babel/babel-eslint/issues' },
63 silly resolved     homepage: 'https://github.com/babel/babel-eslint',
63 silly resolved     devDependencies:
63 silly resolved      { 'babel-eslint': '^8.0.0',
63 silly resolved        dedent: '^0.7.0',
63 silly resolved        eslint: 'npm:eslint@4.19.1',
63 silly resolved        'eslint-config-babel': '^7.0.1',
63 silly resolved        'eslint-old': 'npm:eslint@4.13.1',
63 silly resolved        'eslint-plugin-flowtype': '^2.30.3',
63 silly resolved        'eslint-plugin-import': '^2.8.0',
63 silly resolved        'eslint-plugin-prettier': '^2.1.2',
63 silly resolved        espree: '^3.5.2',
63 silly resolved        husky: '^0.14.0',
63 silly resolved        'lint-staged': '^6.1.1',
63 silly resolved        mocha: '^5.0.1',
63 silly resolved        prettier: '^1.4.4' },
63 silly resolved     'lint-staged': { '*.js': [Array] },
63 silly resolved     gitHead: 'b9067fa4a643c003810d7f7735393961e0ec5bbc',
63 silly resolved     _id: 'babel-eslint@8.2.6',
63 silly resolved     _npmVersion: '5.6.0',
63 silly resolved     _nodeVersion: '8.10.0',
63 silly resolved     _npmUser: { name: 'hzoo', email: 'hi@henryzoo.com' },
63 silly resolved     dist:
63 silly resolved      { integrity: 'sha512-aCdHjhzcILdP8c9lej7hvXKvQieyRt20SF102SIGyY4cUIiw6UaAtK4j2o3dXX74jEmy0TJ0CEhv4fTIM3SzcA==',
63 silly resolved        shasum: '6270d0c73205628067c0f7ae1693a9e797acefd9',
63 silly resolved        tarball: 'https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.6.tgz',
63 silly resolved        fileCount: 17,
63 silly resolved        unpackedSize: 42122,
63 silly resolved        'npm-signature': '-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbR11vCRA9TVsSAnZWagAAnwQP/0lQ0qM43q3t+nraHSMO\n3XozAAy24+0My/AAMiDuXiCu1Ol3fOsG+p7VXc0V12POhVh8nF7/S8CALiT+\nY8ZpF/OQM+8KlxGc+BJ6YzXKgFzpHmzn5VnM5Fl8z3c4yVZBM80YetEOUkPu\nMAUcQGEhqA4j6w4J6aTDZMPqi7jaj2HS5Smcnzs+0JbeK1VnagFYqIIp/cNu\nzs2X35KqtGI+A0M/sG+1M4nrMNKWpPi/xjCF3droDyBAMaQgA9Gkw6UQyU5o\n7mWWpnz/ZMylR3kneLPUKOoVViiLdbH2VBD72YS3wqssYGo+llUHwXm536xB\nBEDCm0DMD+s5IGknGSj6dfi59hvfMK/in9h5xOR7CNBFBxzsZx6EOXnSGULW\nxvftPxAaE5MQ4ziF1rc40Yse9/O8+v8wIt02WwINtV4OqY8fYXL83XsjVylz\nvHkD+HFOC46cnrgHAMRC6ldMD1RKcv8tAY9kSg8CXOBFfNAOr+mk/JNfoUC0\nVb1qFRs7eyYfzMvjGA8XsJNPGo6lUH/7+a2Gh1vdKBLaOUMHA1/3Yk7HfDJs\nnPIlvfyUYpGVY3fYN4gYH8EOh0gyK+s6P7F9yVBHvk9yqiHWsip3Z45c6+R1\nPynNhdbCoH/vmAKrtpzqmjYB9/F64pEQJKDDG37f43Y7VJWgCc7LZwb9zDqP\nReQ3\r\n=WS+0\r\n-----END PGP SIGNATURE-----\r\n' },
63 silly resolved     maintainers:
63 silly resolved      [ [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object],
63 silly resolved        [Object] ],
63 silly resolved     directories: {},
63 silly resolved     _npmOperationalInternal:
63 silly resolved      { host: 's3://npm-registry-packages',
63 silly resolved        tmp: 'tmp/babel-eslint_8.2.6_1531403631471_0.6484869772563733' },
63 silly resolved     _shasum: '6270d0c73205628067c0f7ae1693a9e797acefd9',
63 silly resolved     _from: 'babel-eslint@^8.2.2',
63 silly resolved     _resolved: 'https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.6.tgz',
63 silly resolved     readme: 'ERROR: No README data found!' } ]
64 info install babel-eslint@8.2.6 into /home/pi/swill-sdk
65 info installOne babel-eslint@8.2.6
66 verbose node_modules/babel-eslint unbuild
67 verbose tar unpack /root/.npm/babel-eslint/8.2.6/package.tgz
68 silly lockFile f60d96a3-ll-sdk-node-modules-babel-eslint tar:///home/pi/swill-sdk/node_modules/babel-eslint
69 verbose lock tar:///home/pi/swill-sdk/node_modules/babel-eslint /root/.npm/f60d96a3-ll-sdk-node-modules-babel-eslint.lock
70 silly lockFile bca4d35c-m-babel-eslint-8-2-6-package-tgz tar:///root/.npm/babel-eslint/8.2.6/package.tgz
71 verbose lock tar:///root/.npm/babel-eslint/8.2.6/package.tgz /root/.npm/bca4d35c-m-babel-eslint-8-2-6-package-tgz.lock
72 silly gunzTarPerm modes [ '755', '644' ]
73 silly gunzTarPerm extractEntry package.json
74 silly gunzTarPerm extractEntry LICENSE
75 silly gunzTarPerm extractEntry README.md
76 silly gunzTarPerm extractEntry lib/analyze-scope.js
77 silly gunzTarPerm extractEntry lib/babylon-to-espree/attachComments.js
78 silly gunzTarPerm extractEntry lib/babylon-to-espree/convertComments.js
79 silly gunzTarPerm extractEntry lib/babylon-to-espree/convertTemplateType.js
80 silly gunzTarPerm extractEntry lib/babylon-to-espree/index.js
81 silly gunzTarPerm extractEntry lib/babylon-to-espree/toAST.js
82 silly gunzTarPerm extractEntry lib/babylon-to-espree/toToken.js
83 silly gunzTarPerm extractEntry lib/babylon-to-espree/toTokens.js
84 silly gunzTarPerm extractEntry lib/index.js
85 silly gunzTarPerm extractEntry lib/parse-with-patch.js
86 silly gunzTarPerm extractEntry lib/parse-with-scope.js
87 silly gunzTarPerm extractEntry lib/parse.js
88 silly gunzTarPerm extractEntry lib/patch-eslint-scope.js
89 silly gunzTarPerm extractEntry lib/visitor-keys.js
90 silly lockFile f60d96a3-ll-sdk-node-modules-babel-eslint tar:///home/pi/swill-sdk/node_modules/babel-eslint
91 silly lockFile f60d96a3-ll-sdk-node-modules-babel-eslint tar:///home/pi/swill-sdk/node_modules/babel-eslint
92 silly lockFile bca4d35c-m-babel-eslint-8-2-6-package-tgz tar:///root/.npm/babel-eslint/8.2.6/package.tgz
93 silly lockFile bca4d35c-m-babel-eslint-8-2-6-package-tgz tar:///root/.npm/babel-eslint/8.2.6/package.tgz
94 info preinstall babel-eslint@8.2.6
95 verbose readDependencies using package.json deps
96 verbose readDependencies using package.json deps
97 verbose cache add [ '@babel/traverse@7.0.0-beta.44', null ]
98 verbose cache add name=undefined spec="@babel/traverse@7.0.0-beta.44" args=["@babel/traverse@7.0.0-beta.44",null]
99 verbose parsed url Url {
99 verbose parsed url   protocol: null,
99 verbose parsed url   slashes: null,
99 verbose parsed url   auth: null,
99 verbose parsed url   host: null,
99 verbose parsed url   port: null,
99 verbose parsed url   hostname: null,
99 verbose parsed url   hash: null,
99 verbose parsed url   search: null,
99 verbose parsed url   query: null,
99 verbose parsed url   pathname: '@babel/traverse@7.0.0-beta.44',
99 verbose parsed url   path: '@babel/traverse@7.0.0-beta.44',
99 verbose parsed url   href: '@babel/traverse@7.0.0-beta.44' }
100 verbose cache add [ '@babel/types@7.0.0-beta.44', null ]
101 verbose cache add name=undefined spec="@babel/types@7.0.0-beta.44" args=["@babel/types@7.0.0-beta.44",null]
102 verbose parsed url Url {
102 verbose parsed url   protocol: null,
102 verbose parsed url   slashes: null,
102 verbose parsed url   auth: null,
102 verbose parsed url   host: null,
102 verbose parsed url   port: null,
102 verbose parsed url   hostname: null,
102 verbose parsed url   hash: null,
102 verbose parsed url   search: null,
102 verbose parsed url   query: null,
102 verbose parsed url   pathname: '@babel/types@7.0.0-beta.44',
102 verbose parsed url   path: '@babel/types@7.0.0-beta.44',
102 verbose parsed url   href: '@babel/types@7.0.0-beta.44' }
103 verbose cache add [ 'babylon@7.0.0-beta.44', null ]
104 verbose cache add name=undefined spec="babylon@7.0.0-beta.44" args=["babylon@7.0.0-beta.44",null]
105 verbose parsed url Url {
105 verbose parsed url   protocol: null,
105 verbose parsed url   slashes: null,
105 verbose parsed url   auth: null,
105 verbose parsed url   host: null,
105 verbose parsed url   port: null,
105 verbose parsed url   hostname: null,
105 verbose parsed url   hash: null,
105 verbose parsed url   search: null,
105 verbose parsed url   query: null,
105 verbose parsed url   pathname: 'babylon@7.0.0-beta.44',
105 verbose parsed url   path: 'babylon@7.0.0-beta.44',
105 verbose parsed url   href: 'babylon@7.0.0-beta.44' }
106 verbose cache add [ 'eslint-scope@3.7.1', null ]
107 verbose cache add name=undefined spec="eslint-scope@3.7.1" args=["eslint-scope@3.7.1",null]
108 verbose parsed url Url {
108 verbose parsed url   protocol: null,
108 verbose parsed url   slashes: null,
108 verbose parsed url   auth: null,
108 verbose parsed url   host: null,
108 verbose parsed url   port: null,
108 verbose parsed url   hostname: null,
108 verbose parsed url   hash: null,
108 verbose parsed url   search: null,
108 verbose parsed url   query: null,
108 verbose parsed url   pathname: 'eslint-scope@3.7.1',
108 verbose parsed url   path: 'eslint-scope@3.7.1',
108 verbose parsed url   href: 'eslint-scope@3.7.1' }
109 verbose cache add [ 'eslint-visitor-keys@^1.0.0', null ]
110 verbose cache add name=undefined spec="eslint-visitor-keys@^1.0.0" args=["eslint-visitor-keys@^1.0.0",null]
111 verbose parsed url Url {
111 verbose parsed url   protocol: null,
111 verbose parsed url   slashes: null,
111 verbose parsed url   auth: null,
111 verbose parsed url   host: null,
111 verbose parsed url   port: null,
111 verbose parsed url   hostname: null,
111 verbose parsed url   hash: null,
111 verbose parsed url   search: null,
111 verbose parsed url   query: null,
111 verbose parsed url   pathname: 'eslint-visitor-keys@%5E1.0.0',
111 verbose parsed url   path: 'eslint-visitor-keys@%5E1.0.0',
111 verbose parsed url   href: 'eslint-visitor-keys@%5E1.0.0' }
112 verbose cache add [ '@babel/code-frame@7.0.0-beta.44', null ]
113 verbose cache add name=undefined spec="@babel/code-frame@7.0.0-beta.44" args=["@babel/code-frame@7.0.0-beta.44",null]
114 verbose parsed url Url {
114 verbose parsed url   protocol: null,
114 verbose parsed url   slashes: null,
114 verbose parsed url   auth: null,
114 verbose parsed url   host: null,
114 verbose parsed url   port: null,
114 verbose parsed url   hostname: null,
114 verbose parsed url   hash: null,
114 verbose parsed url   search: null,
114 verbose parsed url   query: null,
114 verbose parsed url   pathname: '@babel/code-frame@7.0.0-beta.44',
114 verbose parsed url   path: '@babel/code-frame@7.0.0-beta.44',
114 verbose parsed url   href: '@babel/code-frame@7.0.0-beta.44' }
115 verbose cache add name="" spec="babel/traverse@7.0.0-beta.44" args=["","babel/traverse@7.0.0-beta.44"]
116 verbose parsed url Url {
116 verbose parsed url   protocol: null,
116 verbose parsed url   slashes: null,
116 verbose parsed url   auth: null,
116 verbose parsed url   host: null,
116 verbose parsed url   port: null,
116 verbose parsed url   hostname: null,
116 verbose parsed url   hash: null,
116 verbose parsed url   search: null,
116 verbose parsed url   query: null,
116 verbose parsed url   pathname: 'babel/traverse@7.0.0-beta.44',
116 verbose parsed url   path: 'babel/traverse@7.0.0-beta.44',
116 verbose parsed url   href: 'babel/traverse@7.0.0-beta.44' }
117 verbose cache add name="" spec="babel/types@7.0.0-beta.44" args=["","babel/types@7.0.0-beta.44"]
118 verbose parsed url Url {
118 verbose parsed url   protocol: null,
118 verbose parsed url   slashes: null,
118 verbose parsed url   auth: null,
118 verbose parsed url   host: null,
118 verbose parsed url   port: null,
118 verbose parsed url   hostname: null,
118 verbose parsed url   hash: null,
118 verbose parsed url   search: null,
118 verbose parsed url   query: null,
118 verbose parsed url   pathname: 'babel/types@7.0.0-beta.44',
118 verbose parsed url   path: 'babel/types@7.0.0-beta.44',
118 verbose parsed url   href: 'babel/types@7.0.0-beta.44' }
119 verbose cache add name="babylon" spec="7.0.0-beta.44" args=["babylon","7.0.0-beta.44"]
120 verbose parsed url Url {
120 verbose parsed url   protocol: null,
120 verbose parsed url   slashes: null,
120 verbose parsed url   auth: null,
120 verbose parsed url   host: null,
120 verbose parsed url   port: null,
120 verbose parsed url   hostname: null,
120 verbose parsed url   hash: null,
120 verbose parsed url   search: null,
120 verbose parsed url   query: null,
120 verbose parsed url   pathname: '7.0.0-beta.44',
120 verbose parsed url   path: '7.0.0-beta.44',
120 verbose parsed url   href: '7.0.0-beta.44' }
121 verbose addNamed [ 'babylon', '7.0.0-beta.44' ]
122 verbose addNamed [ '7.0.0-beta.44', '7.0.0-beta.44' ]
123 silly lockFile 8f0a99d3-babylon-7-0-0-beta-44 babylon@7.0.0-beta.44
124 verbose lock babylon@7.0.0-beta.44 /root/.npm/8f0a99d3-babylon-7-0-0-beta-44.lock
125 verbose cache add name="eslint-scope" spec="3.7.1" args=["eslint-scope","3.7.1"]
126 verbose parsed url Url {
126 verbose parsed url   protocol: null,
126 verbose parsed url   slashes: null,
126 verbose parsed url   auth: null,
126 verbose parsed url   host: null,
126 verbose parsed url   port: null,
126 verbose parsed url   hostname: null,
126 verbose parsed url   hash: null,
126 verbose parsed url   search: null,
126 verbose parsed url   query: null,
126 verbose parsed url   pathname: '3.7.1',
126 verbose parsed url   path: '3.7.1',
126 verbose parsed url   href: '3.7.1' }
127 verbose addNamed [ 'eslint-scope', '3.7.1' ]
128 verbose addNamed [ '3.7.1', '3.7.1' ]
129 silly lockFile c05c4f63-eslint-scope-3-7-1 eslint-scope@3.7.1
130 verbose lock eslint-scope@3.7.1 /root/.npm/c05c4f63-eslint-scope-3-7-1.lock
131 verbose cache add name="eslint-visitor-keys" spec="^1.0.0" args=["eslint-visitor-keys","^1.0.0"]
132 verbose parsed url Url {
132 verbose parsed url   protocol: null,
132 verbose parsed url   slashes: null,
132 verbose parsed url   auth: null,
132 verbose parsed url   host: null,
132 verbose parsed url   port: null,
132 verbose parsed url   hostname: null,
132 verbose parsed url   hash: null,
132 verbose parsed url   search: null,
132 verbose parsed url   query: null,
132 verbose parsed url   pathname: '%5E1.0.0',
132 verbose parsed url   path: '%5E1.0.0',
132 verbose parsed url   href: '%5E1.0.0' }
133 verbose addNamed [ 'eslint-visitor-keys', '^1.0.0' ]
134 verbose addNamed [ null, '>=1.0.0 <2.0.0' ]
135 silly lockFile 8c0bcc9b-eslint-visitor-keys-1-0-0 eslint-visitor-keys@^1.0.0
136 verbose lock eslint-visitor-keys@^1.0.0 /root/.npm/8c0bcc9b-eslint-visitor-keys-1-0-0.lock
137 verbose cache add name="" spec="babel/code-frame@7.0.0-beta.44" args=["","babel/code-frame@7.0.0-beta.44"]
138 verbose parsed url Url {
138 verbose parsed url   protocol: null,
138 verbose parsed url   slashes: null,
138 verbose parsed url   auth: null,
138 verbose parsed url   host: null,
138 verbose parsed url   port: null,
138 verbose parsed url   hostname: null,
138 verbose parsed url   hash: null,
138 verbose parsed url   search: null,
138 verbose parsed url   query: null,
138 verbose parsed url   pathname: 'babel/code-frame@7.0.0-beta.44',
138 verbose parsed url   path: 'babel/code-frame@7.0.0-beta.44',
138 verbose parsed url   href: 'babel/code-frame@7.0.0-beta.44' }
139 verbose cache add name="babel/traverse" spec="7.0.0-beta.44" args=["babel/traverse","7.0.0-beta.44"]
140 verbose parsed url Url {
140 verbose parsed url   protocol: null,
140 verbose parsed url   slashes: null,
140 verbose parsed url   auth: null,
140 verbose parsed url   host: null,
140 verbose parsed url   port: null,
140 verbose parsed url   hostname: null,
140 verbose parsed url   hash: null,
140 verbose parsed url   search: null,
140 verbose parsed url   query: null,
140 verbose parsed url   pathname: '7.0.0-beta.44',
140 verbose parsed url   path: '7.0.0-beta.44',
140 verbose parsed url   href: '7.0.0-beta.44' }
141 verbose addNamed [ 'babel/traverse', '7.0.0-beta.44' ]
142 verbose addNamed [ '7.0.0-beta.44', '7.0.0-beta.44' ]
143 silly lockFile e769638c-babel-traverse-7-0-0-beta-44 babel/traverse@7.0.0-beta.44
144 verbose lock babel/traverse@7.0.0-beta.44 /root/.npm/e769638c-babel-traverse-7-0-0-beta-44.lock
145 verbose cache add name="babel/types" spec="7.0.0-beta.44" args=["babel/types","7.0.0-beta.44"]
146 verbose parsed url Url {
146 verbose parsed url   protocol: null,
146 verbose parsed url   slashes: null,
146 verbose parsed url   auth: null,
146 verbose parsed url   host: null,
146 verbose parsed url   port: null,
146 verbose parsed url   hostname: null,
146 verbose parsed url   hash: null,
146 verbose parsed url   search: null,
146 verbose parsed url   query: null,
146 verbose parsed url   pathname: '7.0.0-beta.44',
146 verbose parsed url   path: '7.0.0-beta.44',
146 verbose parsed url   href: '7.0.0-beta.44' }
147 verbose addNamed [ 'babel/types', '7.0.0-beta.44' ]
148 verbose addNamed [ '7.0.0-beta.44', '7.0.0-beta.44' ]
149 silly lockFile aee9d9da-babel-types-7-0-0-beta-44 babel/types@7.0.0-beta.44
150 verbose lock babel/types@7.0.0-beta.44 /root/.npm/aee9d9da-babel-types-7-0-0-beta-44.lock
151 verbose cache add name="babel/code-frame" spec="7.0.0-beta.44" args=["babel/code-frame","7.0.0-beta.44"]
152 verbose parsed url Url {
152 verbose parsed url   protocol: null,
152 verbose parsed url   slashes: null,
152 verbose parsed url   auth: null,
152 verbose parsed url   host: null,
152 verbose parsed url   port: null,
152 verbose parsed url   hostname: null,
152 verbose parsed url   hash: null,
152 verbose parsed url   search: null,
152 verbose parsed url   query: null,
152 verbose parsed url   pathname: '7.0.0-beta.44',
152 verbose parsed url   path: '7.0.0-beta.44',
152 verbose parsed url   href: '7.0.0-beta.44' }
153 verbose addNamed [ 'babel/code-frame', '7.0.0-beta.44' ]
154 verbose addNamed [ '7.0.0-beta.44', '7.0.0-beta.44' ]
155 silly lockFile 1d9dcf9f-babel-code-frame-7-0-0-beta-44 babel/code-frame@7.0.0-beta.44
156 verbose lock babel/code-frame@7.0.0-beta.44 /root/.npm/1d9dcf9f-babel-code-frame-7-0-0-beta-44.lock
157 silly addNameRange { name: 'eslint-visitor-keys',
157 silly addNameRange   range: '>=1.0.0 <2.0.0',
157 silly addNameRange   hasData: false }
158 verbose request where is /babylon
159 verbose request registry https://registry.npmjs.org/
160 verbose url raw /babylon
161 verbose url resolving [ 'https://registry.npmjs.org/', './babylon' ]
162 verbose url resolved https://registry.npmjs.org/babylon
163 verbose request where is https://registry.npmjs.org/babylon
164 info trying registry request attempt 1 at 20:13:14
165 verbose etag W/"169845b7579493b7af4440e58077c16b"
166 http GET https://registry.npmjs.org/babylon
167 verbose request where is /eslint-visitor-keys
168 verbose request registry https://registry.npmjs.org/
169 verbose url raw /eslint-visitor-keys
170 verbose url resolving [ 'https://registry.npmjs.org/', './eslint-visitor-keys' ]
171 verbose url resolved https://registry.npmjs.org/eslint-visitor-keys
172 verbose request where is https://registry.npmjs.org/eslint-visitor-keys
173 info trying registry request attempt 1 at 20:13:14
174 verbose etag W/"cbb17bdfac74dfb128a621f057bb411b"
175 http GET https://registry.npmjs.org/eslint-visitor-keys
176 verbose request where is /eslint-scope
177 verbose request registry https://registry.npmjs.org/
178 verbose url raw /eslint-scope
179 verbose url resolving [ 'https://registry.npmjs.org/', './eslint-scope' ]
180 verbose url resolved https://registry.npmjs.org/eslint-scope
181 verbose request where is https://registry.npmjs.org/eslint-scope
182 info trying registry request attempt 1 at 20:13:14
183 verbose etag W/"f24bc36868871f6e3b566b4cbb0efd41"
184 http GET https://registry.npmjs.org/eslint-scope
185 verbose request where is /babel/traverse
186 verbose request registry https://registry.npmjs.org/
187 verbose url raw /babel/traverse
188 verbose url resolving [ 'https://registry.npmjs.org/', './babel/traverse' ]
189 verbose url resolved https://registry.npmjs.org/babel/traverse
190 verbose request where is https://registry.npmjs.org/babel/traverse
191 info trying registry request attempt 1 at 20:13:14
192 http GET https://registry.npmjs.org/babel/traverse
193 verbose request where is /babel/types
194 verbose request registry https://registry.npmjs.org/
195 verbose url raw /babel/types
196 verbose url resolving [ 'https://registry.npmjs.org/', './babel/types' ]
197 verbose url resolved https://registry.npmjs.org/babel/types
198 verbose request where is https://registry.npmjs.org/babel/types
199 info trying registry request attempt 1 at 20:13:14
200 http GET https://registry.npmjs.org/babel/types
201 verbose request where is /babel/code-frame
202 verbose request registry https://registry.npmjs.org/
203 verbose url raw /babel/code-frame
204 verbose url resolving [ 'https://registry.npmjs.org/', './babel/code-frame' ]
205 verbose url resolved https://registry.npmjs.org/babel/code-frame
206 verbose request where is https://registry.npmjs.org/babel/code-frame
207 info trying registry request attempt 1 at 20:13:14
208 http GET https://registry.npmjs.org/babel/code-frame
209 http 304 https://registry.npmjs.org/babylon
210 silly registry.get cb [ 304,
210 silly registry.get   { date: 'Mon, 23 Jul 2018 18:13:14 GMT',
210 silly registry.get     connection: 'close',
210 silly registry.get     'set-cookie':
210 silly registry.get      [ '__cfduid=ddae5b04d61c50856fe66eb31cfe458131532369594; expires=Tue, 23-Jul-19 18:13:14 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
210 silly registry.get     'cache-control': 'max-age=300',
210 silly registry.get     'cf-cache-status': 'HIT',
210 silly registry.get     'cf-ray': '43f01ead9f426403-FRA',
210 silly registry.get     etag: '"169845b7579493b7af4440e58077c16b"',
210 silly registry.get     'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
210 silly registry.get     'last-modified': 'Sat, 26 May 2018 18:02:21 GMT',
210 silly registry.get     vary: 'accept-encoding, accept',
210 silly registry.get     server: 'cloudflare' } ]
211 verbose etag https://registry.npmjs.org/babylon from cache
212 http 304 https://registry.npmjs.org/eslint-visitor-keys
213 silly registry.get cb [ 304,
213 silly registry.get   { date: 'Mon, 23 Jul 2018 18:13:14 GMT',
213 silly registry.get     connection: 'close',
213 silly registry.get     'set-cookie':
213 silly registry.get      [ '__cfduid=d14f0420d9433c07034886b3a6be330ff1532369594; expires=Tue, 23-Jul-19 18:13:14 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
213 silly registry.get     'cache-control': 'max-age=300',
213 silly registry.get     'cf-cache-status': 'HIT',
213 silly registry.get     'cf-ray': '43f01eadac08641b-FRA',
213 silly registry.get     etag: '"cbb17bdfac74dfb128a621f057bb411b"',
213 silly registry.get     'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
213 silly registry.get     'last-modified': 'Sat, 26 May 2018 23:54:45 GMT',
213 silly registry.get     vary: 'accept-encoding, accept',
213 silly registry.get     server: 'cloudflare' } ]
214 verbose etag https://registry.npmjs.org/eslint-visitor-keys from cache
215 http 304 https://registry.npmjs.org/eslint-scope
216 silly registry.get cb [ 304,
216 silly registry.get   { date: 'Mon, 23 Jul 2018 18:13:14 GMT',
216 silly registry.get     connection: 'close',
216 silly registry.get     'set-cookie':
216 silly registry.get      [ '__cfduid=d14f0420d9433c07034886b3a6be330ff1532369594; expires=Tue, 23-Jul-19 18:13:14 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
216 silly registry.get     'cache-control': 'max-age=300',
216 silly registry.get     'cf-cache-status': 'HIT',
216 silly registry.get     'cf-ray': '43f01eadac0d641b-FRA',
216 silly registry.get     etag: '"f24bc36868871f6e3b566b4cbb0efd41"',
216 silly registry.get     'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
216 silly registry.get     'last-modified': 'Thu, 12 Jul 2018 17:51:59 GMT',
216 silly registry.get     vary: 'accept-encoding, accept',
216 silly registry.get     server: 'cloudflare' } ]
217 verbose etag https://registry.npmjs.org/eslint-scope from cache
218 silly addNameRange number 2 { name: 'eslint-visitor-keys',
218 silly addNameRange   range: '>=1.0.0 <2.0.0',
218 silly addNameRange   hasData: true }
219 silly addNameRange versions [ 'eslint-visitor-keys', [ '0.1.0', '1.0.0' ] ]
220 verbose addNamed [ 'eslint-visitor-keys', '1.0.0' ]
221 verbose addNamed [ '1.0.0', '1.0.0' ]
222 silly lockFile 1c110de2-eslint-visitor-keys-1-0-0 eslint-visitor-keys@1.0.0
223 verbose lock eslint-visitor-keys@1.0.0 /root/.npm/1c110de2-eslint-visitor-keys-1-0-0.lock
224 silly lockFile 8f0a99d3-babylon-7-0-0-beta-44 babylon@7.0.0-beta.44
225 silly lockFile 8f0a99d3-babylon-7-0-0-beta-44 babylon@7.0.0-beta.44
226 silly lockFile 1c110de2-eslint-visitor-keys-1-0-0 eslint-visitor-keys@1.0.0
227 silly lockFile 1c110de2-eslint-visitor-keys-1-0-0 eslint-visitor-keys@1.0.0
228 silly lockFile 8c0bcc9b-eslint-visitor-keys-1-0-0 eslint-visitor-keys@^1.0.0
229 silly lockFile 8c0bcc9b-eslint-visitor-keys-1-0-0 eslint-visitor-keys@^1.0.0
230 silly lockFile c05c4f63-eslint-scope-3-7-1 eslint-scope@3.7.1
231 silly lockFile c05c4f63-eslint-scope-3-7-1 eslint-scope@3.7.1
232 http 405 https://registry.npmjs.org/babel/traverse
233 silly registry.get cb [ 405,
233 silly registry.get   { date: 'Mon, 23 Jul 2018 18:13:15 GMT',
233 silly registry.get     'content-type': 'application/json',
233 silly registry.get     'content-length': '63',
233 silly registry.get     connection: 'close',
233 silly registry.get     'set-cookie':
233 silly registry.get      [ '__cfduid=d19a86c31d52fb0f304a69699ec7924b61532369594; expires=Tue, 23-Jul-19 18:13:14 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
233 silly registry.get     allow: 'PUT',
233 silly registry.get     'cf-ray': '43f01eadaba426b4-FRA',
233 silly registry.get     'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
233 silly registry.get     server: 'cloudflare' } ]
234 silly lockFile e769638c-babel-traverse-7-0-0-beta-44 babel/traverse@7.0.0-beta.44
235 silly lockFile e769638c-babel-traverse-7-0-0-beta-44 babel/traverse@7.0.0-beta.44
236 verbose about to build /home/pi/swill-sdk/node_modules/babel-eslint
237 verbose node_modules/babel-eslint unbuild
238 info preuninstall babel-eslint@8.2.6
239 http 405 https://registry.npmjs.org/babel/code-frame
240 silly registry.get cb [ 405,
240 silly registry.get   { date: 'Mon, 23 Jul 2018 18:13:15 GMT',
240 silly registry.get     'content-type': 'application/json',
240 silly registry.get     'content-length': '63',
240 silly registry.get     connection: 'close',
240 silly registry.get     'set-cookie':
240 silly registry.get      [ '__cfduid=de75d26c07321a41509be65ea3df6d0b41532369594; expires=Tue, 23-Jul-19 18:13:14 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
240 silly registry.get     allow: 'PUT',
240 silly registry.get     'cf-ray': '43f01eadbaba273e-FRA',
240 silly registry.get     'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
240 silly registry.get     server: 'cloudflare' } ]
241 info uninstall babel-eslint@8.2.6
242 verbose true,/home/pi/swill-sdk/node_modules,/home/pi/swill-sdk/node_modules unbuild babel-eslint@8.2.6
243 info postuninstall babel-eslint@8.2.6
244 http 405 https://registry.npmjs.org/babel/types
245 silly registry.get cb [ 405,
245 silly registry.get   { date: 'Mon, 23 Jul 2018 18:13:15 GMT',
245 silly registry.get     'content-type': 'application/json',
245 silly registry.get     'content-length': '63',
245 silly registry.get     connection: 'close',
245 silly registry.get     'set-cookie':
245 silly registry.get      [ '__cfduid=dbcb0aebf6a78e454ea089e2c7c87489b1532369594; expires=Tue, 23-Jul-19 18:13:14 GMT; path=/; domain=.registry.npmjs.org; HttpOnly' ],
245 silly registry.get     allow: 'PUT',
245 silly registry.get     'cf-ray': '43f01eada83e6415-FRA',
245 silly registry.get     'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
245 silly registry.get     server: 'cloudflare' } ]
246 silly lockFile 1d9dcf9f-babel-code-frame-7-0-0-beta-44 babel/code-frame@7.0.0-beta.44
247 silly lockFile 1d9dcf9f-babel-code-frame-7-0-0-beta-44 babel/code-frame@7.0.0-beta.44
248 silly lockFile aee9d9da-babel-types-7-0-0-beta-44 babel/types@7.0.0-beta.44
249 silly lockFile aee9d9da-babel-types-7-0-0-beta-44 babel/types@7.0.0-beta.44
250 error Error: Method Not Allowed
250 error     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
250 error     at /usr/share/npm/lib/cache/add-named.js:120:12
250 error     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
250 error     at FSReqWrap.oncomplete (fs.js:135:15)
251 error If you need help, you may report this *entire* log,
251 error including the npm and node versions, at:
251 error     <http://github.com/npm/npm/issues>
252 error System Linux 4.14.52-v7+
253 error command "/usr/bin/node" "/usr/bin/npm" "install"
254 error cwd /home/pi/swill-sdk
255 error node -v v8.11.1
256 error npm -v 1.4.21
257 error code E405
258 verbose exit [ 1, true ]

I installed mpm by: sudo apt-get install nodejs npm

maybe wrong version?

jonrhall commented 6 years ago

Have you tried running sudo npm install?

Method Not Allowed being the error seems to me like a permissions issue.

Thank you for the note about npm not being available on the latest Raspbian, I'll put something in the next patch that mentions how to install npm to begin with.

jonrhall commented 6 years ago

I just Googled your error, the first thing that popped up looks like the exact same error you're running into, down to the line number the error occurs from. Maybe the way you installed npm installed a version that is extremely out of date?

https://github.com/npm/npm/issues/20896

Edit: And looking at your debugger output, it seems like you're trying to use npm version 1.4.21, which is extremely out of date.

rzr commented 6 years ago

If using Raspbian, you probably used archive package: pool/main/n/npm/npm_1.4.21+ds-2_all.deb

Unfortunately AFAIK there is no backport repository for Raspbian, maybe a community repo exists but I don't know any.

Workaround is to fallback to nvm package manager:

nvm install --lts=carbon ; nvm use --lts=carbon
npm --version
5.6.0

Related: