Let’s try a few things before having you bug your friend. Re: logout, right now there isn’t a command, but you can delete the Vapid entry in ~/.netrc
.
First, let’s see if it can successfully create a tmp directory:
cd /your/project/directory
node
Then run the following in the Node prompt:
const tmp = require('tmp');
const { resolve } = require('path');
const { writeFileSync } = require('fs');
const { execSync } = require('child_process');
const { name: tmpDir } = tmp.dirSync();
const tmpFile = resolve(tmpDir, 'test.txt');
console.log(`DIR: ${tmpDir}`);
console.log(`FILE: ${tmpFile}`);
writeFileSync(tmpFile, 'Hello world');
execSync(`start notepad "${tmpFile}"`);
.exit
If it works, you should see the text file. If not, hopefully we’ll see an error.
On a related note, you may be able to look in the tmpDir on your system, and see if you find other attempted deploys.