Closure newbie here, having problems with basic installation. nom install won't complete. Full transcript follows (username replaced with 'xxxx')::
bash-3.2$ cd closure-library
bash-3.2$ ls
AUTHORS README.md closure package.json sauce_browsers.json
CONTRIBUTING alltests.html closure-deps protractor.conf.js scripts
LICENSE browser_capabilities.js doc protractor_spec.js third_party
bash-3.2$ npm install
npm ERR! Error: Attempt to unlock google-closure-deps@file:./closure-deps/, which hasn't been locked
npm ERR! at unlock (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:32:5)
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:41:20
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:30:7
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! System Darwin 19.6.0
npm ERR! command "node" "/Users/xxxxx/.nvm/v0.10.12/bin/npm" "install"
npm ERR! cwd /Users/xxxxx/Closure/closure-library
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.4.13
npm ERR! Error: Attempt to unlock http-server@^0.12.3, which hasn't been locked
npm ERR! at unlock (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:32:5)
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:41:20
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:30:7
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! System Darwin 19.6.0
npm ERR! command "node" "/Users/xxxxx/.nvm/v0.10.12/bin/npm" "install"
npm ERR! cwd /Users/xxxxx/Closure/closure-library
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.4.13
npm ERR! Error: Attempt to unlock parse5@^6.0.1, which hasn't been locked
npm ERR! at unlock (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:32:5)
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:41:20
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:30:7
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! System Darwin 19.6.0
npm ERR! command "node" "/Users/xxxxx/.nvm/v0.10.12/bin/npm" "install"
npm ERR! cwd /Users/xxxxx/Closure/closure-library
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.4.13
npm ERR! Error: Attempt to unlock promises-aplus-tests@^2.1.2, which hasn't been locked
npm ERR! at unlock (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:32:5)
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:41:20
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:30:7
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! System Darwin 19.6.0
npm ERR! command "node" "/Users/xxxxx/.nvm/v0.10.12/bin/npm" "install"
npm ERR! cwd /Users/xxxxx/Closure/closure-library
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.4.13
npm ERR! Error: Attempt to unlock protractor@^7.0.0, which hasn't been locked
npm ERR! at unlock (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:32:5)
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/cache/add-named.js:41:20
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/lib/utils/locker.js:30:7
npm ERR! at /Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/lockfile/lockfile.js:167:38
npm ERR! at OpenReq.Req.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:144:5)
npm ERR! at OpenReq.done (/Users/xxxxx/.nvm/v0.10.12/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:64:22)
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! System Darwin 19.6.0
npm ERR! command "node" "/Users/xxxxx/.nvm/v0.10.12/bin/npm" "install"
npm ERR! cwd /Users/xxxxx/Closure/closure-library
npm ERR! node -v v0.10.12
npm ERR! npm -v 1.4.13
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/xxxxx/Closure/closure-library/npm-debug.log
npm ERR! not ok code 0
bash-3.2$