npmでインストールするらしい。
> npm install -g composer-cli npm WARN deprecated fs-promise@1.0.0: Use mz or fs-extra^3.0 with Promise Support npm WARN deprecated crypto@0.0.3: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in. npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated transformers@2.1.0: Deprecated, use jstransformer npm WARN deprecated nodemailer@2.7.2: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/ /Users/tambara/.nodebrew/node/v6.11.4/bin/composer -> /Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/composer-cli/cli.js > fsevents@1.1.2 install /Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/composer-cli/node_modules/fsevents > node install [fsevents] Success: "/Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/composer-cli/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed Pass --update-binary to reinstall or --build-from-source to recompile > pkcs11js@1.0.9 install /Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/composer-cli/node_modules/pkcs11js > npm run build > pkcs11js@1.0.9 build /Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/composer-cli/node_modules/pkcs11js > node-gyp configure build gyp ERR! configure error gyp ERR! stack Error: Python executable "/Users/tambara/.pyenv/shims/python" is v3.6.0, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0. gyp ERR! stack at failPythonVersion (/Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:454:14) gyp ERR! stack at /Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:443:9 gyp ERR! stack at ChildProcess.exithandler (child_process.js:189:7) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at maybeClose (internal/child_process.js:920:16) gyp ERR! stack at Socket.<anonymous> (internal/child_process.js:351:11) gyp ERR! stack at emitOne (events.js:96:13) gyp ERR! stack at Socket.emit (events.js:188:7) gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:497:12) gyp ERR! System Darwin 16.7.0 gyp ERR! command "/Users/tambara/.nodebrew/node/v6.11.4/bin/node" "/Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/composer-cli/node_modules/pkcs11js gyp ERR! node -v v6.11.4 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm ERR! Darwin 16.7.0 npm ERR! argv "/Users/tambara/.nodebrew/node/v6.11.4/bin/node" "/Users/tambara/.nodebrew/node/v6.11.4/bin/npm" "run" "build" npm ERR! node v6.11.4 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pkcs11js@1.0.9 build: `node-gyp configure build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pkcs11js@1.0.9 build script 'node-gyp configure build'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pkcs11js package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp configure build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pkcs11js npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pkcs11js npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/tambara/.nodebrew/node/v6.11.4/lib/node_modules/composer-cli/node_modules/pkcs11js/npm-debug.log /Users/tambara/.nodebrew/node/v6.11.4/lib └── (empty) npm ERR! Darwin 16.7.0 npm ERR! argv "/Users/tambara/.nodebrew/node/v6.11.4/bin/node" "/Users/tambara/.nodebrew/current/bin/npm" "install" "-g" "composer-cli" npm ERR! node v6.11.4 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! pkcs11js@1.0.9 install: `npm run build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pkcs11js@1.0.9 install script 'npm run build'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the pkcs11js package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! npm run build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs pkcs11js npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls pkcs11js npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /Users/tambara/npm-debug.log npm ERR! code 1
あ゛あ゛あ゛、手元の蛇がPython3になっていた・・・