spotswap icon indicating copy to clipboard operation
spotswap copied to clipboard

Error during installation

Open henryngo opened this issue 7 years ago • 6 comments

ubuntu@ip-123-45-67-789:~$ ./node_modules/.bin/spotswap-install /home/ubuntu/node_modules/@mapbox/spotswap/index.js:18 if (!process.env[key]) throw new Error('Env var ' + key + ' is required'); ^

Error: Env var INSTANCE_ID is required at /home/ubuntu/node_modules/@mapbox/spotswap/index.js:18:34 at Array.forEach (native) at envCheck (/home/ubuntu/node_modules/@mapbox/spotswap/index.js:17:5) at Object. (/home/ubuntu/node_modules/@mapbox/spotswap/bin/install.js:9:1) at Module._compile (module.js:410:26) at Object.Module._extensions..js (module.js:417:10) at Module.load (module.js:344:32) at Function.Module._load (module.js:301:12) at Function.Module.runMain (module.js:442:10) at startup (node.js:136:18)

What are the actual steps to install and deploy this to an existing AWS environment? There seem to be a lot of missing info in the documentation. I'm willing to help once I have it up and running. Thanks.

cc: @arunasank @emilymcafee @jakepruitt

henryngo avatar Feb 14 '18 23:02 henryngo