Closed Tulleb closed 6 years ago
Could you upgrade your Node.js to latest LTS v8.9.x and try again please?
Same thing (as root this time):
root@Tulleb05:~# npm install -g firestore-backup npm ERR! path /usr/local/lib/node_modules/firestore-backup/node_modules/grpc/node_modules/node-pre-gyp/node_modules/nopt npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file or directory, rename '/usr/local/lib/node_modules/firestore-backup/node_modules/grpc/node_modules/node-pre-gyp/node_modules/nopt' -> '/usr/local/lib/node_modules/firestore-backup/node_modules/grpc/node_modules/node-pre-gyp/node_modules/.nopt.DELETE' 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! /root/.npm/_logs/2018-03-07T09_34_05_054Z-debug.log
root@Tulleb05:~# node -v v8.9.4
root@Tulleb05:~# npm -v 5.6.0
Let me spin up a fresh environment on cloud9 to test because "it works on my machine".
What's your environment stack?
Ubuntu 16.04.3 LTS
I am not using anything else like docker... I don't know much about it 😕
No worries ;)
I just wanted to make sure I had a fresh environment to try and reproduce your issue.
@Tulleb real quick; if you run
npx firestore-backup
does it work?
@Tulleb here is the c9 workspace i just cloned to let us test
@jeremylorino as soon as I found out to create an account over there... Worst website ever 😳
yaaaa sorry. you should be able to login with github
Can't, I tried already :/ I'll looking into it. Thanks for the help once again @jeremylorino.
It's actually working with 'npx' prefix 😍
Maybe the installation succeed after all? I don't know the npx
command.
it's a nice little command
It sounds like this is resolved so I'm closing it. Please say if it hasn't been!
I have the following issue when trying to install
sudo npm install -g firestore-backup
.My current npm version is:
Thanks for your work!