node-ptyのインストール(npm i node-pty)を試みた際、このようなエラーが出てインストールできませんでした。他のnpmを用いたインストールはエラーなくできます。どのようにすれば解決できるでしょうか?宜しくお願い致します。
oo-no-MacBook:~ oo$ npm i node-pty > node-pty@0.7.8 install /Users/oo/node_modules/node-pty > node scripts/install.js No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'. gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gyp ERR! System Darwin 18.0.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/oo/node_modules/node-pty gyp ERR! node -v v11.3.0 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN oo No description npm WARN oo No repository field. npm WARN oo No license field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-pty@0.7.8 install: `node scripts/install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-pty@0.7.8 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
あなたの回答
tips
プレビュー