Skip to content

Instantly share code, notes, and snippets.

@zachharkey
Last active September 6, 2016 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachharkey/e34cd9c2b30b9721be3380c29f16129b to your computer and use it in GitHub Desktop.
Save zachharkey/e34cd9c2b30b9721be3380c29f16129b to your computer and use it in GitHub Desktop.
squarespace-cli failure
$ npm i -g squarespace-cli
/usr/local/bin/sqs -> /usr/local/lib/node_modules/squarespace-cli/squarespace.js
> keytar@3.0.2 install /usr/local/lib/node_modules/squarespace-cli/node_modules/keytar
> node-gyp rebuild
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
CXX(target) Release/obj.target/keytar/src/main.o
CXX(target) Release/obj.target/keytar/src/keytar_mac.o
SOLINK_MODULE(target) Release/keytar.node
> electron-prebuilt@1.3.5 postinstall /usr/local/lib/node_modules/squarespace-cli/node_modules/electron-prebuilt
> node install.js
Downloading electron-v1.3.5-darwin-x64.zip
[============================================>] 100.0% of 43.57 MB (8.71 MB/s)
/usr/local/lib
└─┬ squarespace-cli@0.0.110
├─┬ chalk@1.1.3
│ ├── ansi-styles@2.2.1
│ ├── escape-string-regexp@1.0.5
│ ├─┬ has-ansi@2.0.0
│ │ └── ansi-regex@2.0.0
│ ├── strip-ansi@3.0.1
│ └── supports-color@2.0.0
├── co@4.6.0
├─┬ co-prompt@1.0.0
│ └── keypress@0.2.1
├─┬ commander@2.9.0
│ └── graceful-readlink@1.0.1
├── jsonfile@2.3.1
├─┬ keytar@3.0.2
│ └── nan@2.3.2
├─┬ nightmare@2.7.0
│ ├─┬ debug@2.2.0
│ │ └── ms@0.7.1
│ ├─┬ deep-defaults@1.0.4
│ │ └── lodash@3.0.1
│ ├─┬ defaults@1.0.3
│ │ └── clone@1.0.2
│ ├─┬ electron-prebuilt@1.3.5
│ │ ├─┬ electron-download@2.1.2
│ │ │ ├── home-path@1.0.3
│ │ │ ├── minimist@1.2.0
│ │ │ ├─┬ mv@2.1.1
│ │ │ │ ├── ncp@2.0.0
│ │ │ │ └─┬ rimraf@2.4.5
│ │ │ │ └── glob@6.0.4
│ │ │ ├─┬ nugget@1.6.2
│ │ │ │ ├─┬ pretty-bytes@1.0.4
│ │ │ │ │ ├── get-stdin@4.0.1
│ │ │ │ │ └─┬ meow@3.7.0
│ │ │ │ │ ├─┬ camelcase-keys@2.1.0
│ │ │ │ │ │ └── camelcase@2.1.1
│ │ │ │ │ ├── decamelize@1.2.0
│ │ │ │ │ ├─┬ loud-rejection@1.6.0
│ │ │ │ │ │ ├─┬ currently-unhandled@0.4.1
│ │ │ │ │ │ │ └── array-find-index@1.0.1
│ │ │ │ │ │ └── signal-exit@3.0.0
│ │ │ │ │ ├── map-obj@1.0.1
│ │ │ │ │ ├─┬ normalize-package-data@2.3.5
│ │ │ │ │ │ ├── hosted-git-info@2.1.5
│ │ │ │ │ │ ├─┬ is-builtin-module@1.0.0
│ │ │ │ │ │ │ └── builtin-modules@1.1.1
│ │ │ │ │ │ ├── semver@5.3.0
│ │ │ │ │ │ └─┬ validate-npm-package-license@3.0.1
│ │ │ │ │ │ ├─┬ spdx-correct@1.0.2
│ │ │ │ │ │ │ └── spdx-license-ids@1.2.2
│ │ │ │ │ │ └── spdx-expression-parse@1.0.3
│ │ │ │ │ ├─┬ read-pkg-up@1.0.1
│ │ │ │ │ │ ├─┬ find-up@1.1.2
│ │ │ │ │ │ │ └── path-exists@2.1.0
│ │ │ │ │ │ └─┬ read-pkg@1.1.0
│ │ │ │ │ │ ├─┬ load-json-file@1.1.0
│ │ │ │ │ │ │ ├── graceful-fs@4.1.6
│ │ │ │ │ │ │ ├─┬ parse-json@2.2.0
│ │ │ │ │ │ │ │ └─┬ error-ex@1.3.0
│ │ │ │ │ │ │ │ └── is-arrayish@0.2.1
│ │ │ │ │ │ │ ├── pify@2.3.0
│ │ │ │ │ │ │ └─┬ strip-bom@2.0.0
│ │ │ │ │ │ │ └── is-utf8@0.2.1
│ │ │ │ │ │ └── path-type@1.1.0
│ │ │ │ │ ├─┬ redent@1.0.0
│ │ │ │ │ │ ├─┬ indent-string@2.1.0
│ │ │ │ │ │ │ └─┬ repeating@2.0.1
│ │ │ │ │ │ │ └─┬ is-finite@1.0.1
│ │ │ │ │ │ │ └── number-is-nan@1.0.0
│ │ │ │ │ │ └── strip-indent@1.0.1
│ │ │ │ │ └── trim-newlines@1.0.0
│ │ │ │ ├─┬ progress-stream@1.2.0
│ │ │ │ │ ├── speedometer@0.1.4
│ │ │ │ │ └─┬ through2@0.2.3
│ │ │ │ │ ├─┬ readable-stream@1.1.14
│ │ │ │ │ │ └── isarray@0.0.1
│ │ │ │ │ └─┬ xtend@2.1.2
│ │ │ │ │ └── object-keys@0.4.0
│ │ │ │ ├─┬ request@2.74.0
│ │ │ │ │ ├── aws-sign2@0.6.0
│ │ │ │ │ ├── aws4@1.4.1
│ │ │ │ │ ├─┬ bl@1.1.2
│ │ │ │ │ │ └─┬ readable-stream@2.0.6
│ │ │ │ │ │ └── isarray@1.0.0
│ │ │ │ │ ├── caseless@0.11.0
│ │ │ │ │ ├─┬ combined-stream@1.0.5
│ │ │ │ │ │ └── delayed-stream@1.0.0
│ │ │ │ │ ├── extend@3.0.0
│ │ │ │ │ ├── forever-agent@0.6.1
│ │ │ │ │ ├─┬ form-data@1.0.1
│ │ │ │ │ │ └─┬ async@2.0.1
│ │ │ │ │ │ └── lodash@4.15.0
│ │ │ │ │ ├─┬ har-validator@2.0.6
│ │ │ │ │ │ ├─┬ is-my-json-valid@2.13.1
│ │ │ │ │ │ │ ├── generate-function@2.0.0
│ │ │ │ │ │ │ ├─┬ generate-object-property@1.2.0
│ │ │ │ │ │ │ │ └── is-property@1.0.2
│ │ │ │ │ │ │ ├── jsonpointer@2.0.0
│ │ │ │ │ │ │ └── xtend@4.0.1
│ │ │ │ │ │ └─┬ pinkie-promise@2.0.1
│ │ │ │ │ │ └── pinkie@2.0.4
│ │ │ │ │ ├─┬ hawk@3.1.3
│ │ │ │ │ │ ├── boom@2.10.1
│ │ │ │ │ │ ├── cryptiles@2.0.5
│ │ │ │ │ │ ├── hoek@2.16.3
│ │ │ │ │ │ └── sntp@1.0.9
│ │ │ │ │ ├─┬ http-signature@1.1.1
│ │ │ │ │ │ ├── assert-plus@0.2.0
│ │ │ │ │ │ ├─┬ jsprim@1.3.0
│ │ │ │ │ │ │ ├── extsprintf@1.0.2
│ │ │ │ │ │ │ ├── json-schema@0.2.2
│ │ │ │ │ │ │ └── verror@1.3.6
│ │ │ │ │ │ └─┬ sshpk@1.10.0
│ │ │ │ │ │ ├── asn1@0.2.3
│ │ │ │ │ │ ├── assert-plus@1.0.0
│ │ │ │ │ │ ├─┬ bcrypt-pbkdf@1.0.0
│ │ │ │ │ │ │ └── tweetnacl@0.14.3
│ │ │ │ │ │ ├─┬ dashdash@1.14.0
│ │ │ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ │ │ ├── ecc-jsbn@0.1.1
│ │ │ │ │ │ ├─┬ getpass@0.1.6
│ │ │ │ │ │ │ └── assert-plus@1.0.0
│ │ │ │ │ │ ├── jodid25519@1.0.2
│ │ │ │ │ │ ├── jsbn@0.1.0
│ │ │ │ │ │ └── tweetnacl@0.13.3
│ │ │ │ │ ├── is-typedarray@1.0.0
│ │ │ │ │ ├── json-stringify-safe@5.0.1
│ │ │ │ │ ├─┬ mime-types@2.1.11
│ │ │ │ │ │ └── mime-db@1.23.0
│ │ │ │ │ ├── node-uuid@1.4.7
│ │ │ │ │ ├── oauth-sign@0.8.2
│ │ │ │ │ ├── qs@6.2.1
│ │ │ │ │ ├── stringstream@0.0.5
│ │ │ │ │ ├── tough-cookie@2.3.1
│ │ │ │ │ └── tunnel-agent@0.4.3
│ │ │ │ ├── single-line-log@0.4.1
│ │ │ │ └── throttleit@0.0.2
│ │ │ ├── path-exists@1.0.0
│ │ │ └─┬ rc@1.1.6
│ │ │ ├── deep-extend@0.4.1
│ │ │ ├── ini@1.3.4
│ │ │ └── strip-json-comments@1.0.4
│ │ └─┬ extract-zip@1.5.0
│ │ ├─┬ concat-stream@1.5.0
│ │ │ ├─┬ readable-stream@2.0.6
│ │ │ │ └── isarray@1.0.0
│ │ │ └── typedarray@0.0.6
│ │ ├── debug@0.7.4
│ │ ├─┬ mkdirp@0.5.0
│ │ │ └── minimist@0.0.8
│ │ └─┬ yauzl@2.4.1
│ │ └─┬ fd-slicer@1.0.1
│ │ └── pend@1.2.0
│ ├─┬ enqueue@1.0.2
│ │ └── sliced@0.0.5
│ ├── function-source@0.1.0
│ ├── jsesc@0.5.0
│ ├─┬ minstache@1.2.0
│ │ └─┬ commander@1.0.4
│ │ └── keypress@0.1.0
│ ├─┬ mkdirp@0.5.1
│ │ └── minimist@0.0.8
│ ├── object-assign@4.1.0
│ ├─┬ once@1.4.0
│ │ └── wrappy@1.0.2
│ ├─┬ rimraf@2.5.4
│ │ └─┬ glob@7.0.6
│ │ ├── fs.realpath@1.0.0
│ │ ├── inflight@1.0.5
│ │ ├── inherits@2.0.1
│ │ ├─┬ minimatch@3.0.3
│ │ │ └─┬ brace-expansion@1.1.6
│ │ │ ├── balanced-match@0.4.2
│ │ │ └── concat-map@0.0.1
│ │ └── path-is-absolute@1.0.0
│ ├── sliced@1.0.1
│ └─┬ split2@2.1.0
│ └─┬ through2@2.0.1
│ ├─┬ readable-stream@2.0.6
│ │ ├── core-util-is@1.0.2
│ │ ├── isarray@1.0.0
│ │ ├── process-nextick-args@1.0.7
│ │ ├── string_decoder@0.10.31
│ │ └── util-deprecate@1.0.2
│ └── xtend@4.0.1
├── nightmare-iframe-manager@0.0.2
├─┬ node-fetch@1.6.0
│ ├─┬ encoding@0.1.12
│ │ └── iconv-lite@0.4.13
│ └── is-stream@1.1.0
├── valid-url@1.0.9
├─┬ winston@2.2.0
│ ├── async@1.0.0
│ ├── colors@1.0.3
│ ├── cycle@1.0.3
│ ├── eyes@0.1.8
│ ├── isstream@0.1.2
│ ├── pkginfo@0.3.1
│ └── stack-trace@0.0.9
└─┬ xml2js@0.4.17
├── sax@1.2.1
└─┬ xmlbuilder@4.2.1
└── lodash@4.15.0
~
$ sqs -h
/usr/local/lib/node_modules/squarespace-cli/commands/authentication.js:80
let userCredentials = null;
^^^
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:387:25)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/usr/local/lib/node_modules/squarespace-cli/commands/index.js:8:24)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment