Running into these issues when running sudo npm install:
sudo npm install
(node:9171) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN package.json block-crawler@1.0.0 No repository field.
npm ERR! tar.unpack untar error /root/.npm/wkx/0.4.5/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/sequelize/node_modules/validator/lib'
npm ERR! error rolling back sequelize@4.41.2 { Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/sequelize/node_modules/validator/lib'
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/alice/block-crawler/node_modules/supercrawler/node_modules/sequelize/node_modules/validator/lib' }
npm ERR! tar.unpack untar error /root/.npm/uuid/3.3.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/generic-pool/3.4.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/debug/2.6.9/package.tgz
npm ERR! tar.unpack untar error /root/.npm/lodash/4.17.11/package.tgz
npm ERR! tar.unpack untar error /root/.npm/sqlite3/3.1.13/package.tgz
npm ERR! tar.unpack untar error /root/.npm/moment/2.22.2/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/cheerio/node_modules/lodash/math'
npm ERR! error rolling back supercrawler@1.3.0 { Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/cheerio/node_modules/lodash/math'
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/alice/block-crawler/node_modules/supercrawler/node_modules/cheerio/node_modules/lodash/math' }
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:203: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.79+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/alice/block-crawler
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR! tar.unpack untar error /root/.npm/shimmer/1.2.0/package.tgz
npm ERR! tar.unpack untar error /root/.npm/is-bluebird/1.0.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/ajv/6.5.5/package.tgz
npm ERR! tar.unpack untar error /root/.npm/moment-timezone/0.5.23/package.tgznpm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/alice/block-crawler/npm-debug.log
npm ERR! not ok code 0
Running into these issues when running sudo npm install:
sudo npm install
(node:9171) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN package.json block-crawler@1.0.0 No repository field.
npm ERR! tar.unpack untar error /root/.npm/wkx/0.4.5/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/sequelize/node_modules/validator/lib'
npm ERR! error rolling back sequelize@4.41.2 { Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/sequelize/node_modules/validator/lib'
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/alice/block-crawler/node_modules/supercrawler/node_modules/sequelize/node_modules/validator/lib' }
npm ERR! tar.unpack untar error /root/.npm/uuid/3.3.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/generic-pool/3.4.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/debug/2.6.9/package.tgz
npm ERR! tar.unpack untar error /root/.npm/lodash/4.17.11/package.tgz
npm ERR! tar.unpack untar error /root/.npm/sqlite3/3.1.13/package.tgz
npm ERR! tar.unpack untar error /root/.npm/moment/2.22.2/package.tgz
npm ERR! error rolling back Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/cheerio/node_modules/lodash/math'
npm ERR! error rolling back supercrawler@1.3.0 { Error: ENOTEMPTY: directory not empty, rmdir '/home/alice/block-crawler/node_modules/supercrawler/node_modules/cheerio/node_modules/lodash/math'
npm ERR! error rolling back errno: -39,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back syscall: 'rmdir',
npm ERR! error rolling back path: '/home/alice/block-crawler/node_modules/supercrawler/node_modules/cheerio/node_modules/lodash/math' }
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:203: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.79+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/alice/block-crawler
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR! tar.unpack untar error /root/.npm/shimmer/1.2.0/package.tgz
npm ERR! tar.unpack untar error /root/.npm/is-bluebird/1.0.2/package.tgz
npm ERR! tar.unpack untar error /root/.npm/ajv/6.5.5/package.tgz
npm ERR! tar.unpack untar error /root/.npm/moment-timezone/0.5.23/package.tgznpm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/alice/block-crawler/npm-debug.log
npm ERR! not ok code 0