aertslab / SCope

Fast visualization tool for large-scale and high dimensional single-cell data
GNU General Public License v3.0
68 stars 15 forks source link

Fresh install fails #384

Closed dweemx closed 3 years ago

dweemx commented 3 years ago

A fresh install (npm install after git clone) fails with:

$ node -v
v9.11.2
$ npm install
[...]
npm WARN grpc-bus-websocket-server@file:opt/scopeserver/bindserver had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.

npm ERR! path ~/Test/SCope/node_modules/.staging/grpc-bus-websocket-server-bd7911eb/node_modules/@types/bytebuffer
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename '~/Test/SCope/node_modules/.staging/grpc-bus-websocket-server-bd7911eb/node_modules/@types/bytebuffer' -> '~/Test/SCope/node_modules/.staging/@types/bytebuffer-1f57e045'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     ~/.npm/_logs/2020-09-28T11_49_13_311Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 254
npm ERR! SCope@1.8.2 preinstall: `npm i shelljs command-exists && node bin/install.js`
npm ERR! Exit status 254
npm ERR! 
npm ERR! Failed at the SCope@1.8.2 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!    ~/.npm/_logs/2020-09-28T11_49_13_349Z-debug.log
dweemx commented 3 years ago

Removing the package-lock.json file and rerunning npm install fixes this issue