linux上で使用するperlスクリプトを、windowsローカルで開発をします。
atom上でデバッグ実行ができるパッケージ「script」があるとのことなので
早速インストールしてみようとしましたが
下記のエラーがでてわからず、詰まってしまいました。
npm WARN addRemoteGit Error: Command failed: npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:658:15) npm WARN addRemoteGit at ChildProcess.emit (events.js:98:17) npm WARN addRemoteGit at maybeClose (child_process.js:766:16) npm WARN addRemoteGit at Socket.<anonymous> (child_process.js:979:11) npm WARN addRemoteGit at Socket.emit (events.js:95:17) npm WARN addRemoteGit at Pipe.close (net.js:466:12) npm WARN addRemoteGit git://github.com/monsterkodi/node-simple-plist.git resetting remote C:\Users\MYNAME\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541 because of error: { [Error: Command failed: ] killed: false, code: 1, signal: null } npm ERR! git clone --template=C:\Users\MYNAME\.atom\.apm\_git-remotes\_templates --mirror git://github.com/monsterkodi/node-simple-plist.git C:\Users\MYNAME\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541: Cloning into bare repository 'C:\Users\MYNAME\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541'... npm ERR! git clone --template=C:\Users\MYNAME\.atom\.apm\_git-remotes\_templates --mirror git://github.com/monsterkodi/node-simple-plist.git C:\Users\MYNAME\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541: fatal: unable to connect to github.com: npm ERR! git clone --template=C:\Users\MYNAME\.atom\.apm\_git-remotes\_templates --mirror git://github.com/monsterkodi/node-simple-plist.git C:\Users\MYNAME\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541: github.com[0: 192.30.252.120]: errno=No error npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\\Users\\MYNAME\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\MYNAME\\AppData\\Local\\atom\\app-1.6.2\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\MYNAME\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\MYNAME\\.atom\\.apmrc" "install" "C:\\Users\\MYNAM~1.SAK\\AppData\\Local\\Temp\\d-116311-8304-cxr025\\package.tgz" "--target=0.34.5" "--arch=ia32" npm ERR! node v0.10.40 npm ERR! npm v2.13.3 npm ERR! code 128 npm ERR! Command failed: Cloning into bare repository 'C:\Users\MYNAME\.atom\.apm\_git-remotes\git-github-com-monsterkodi-node-simple-plist-git-6a71a541'... npm ERR! fatal: unable to connect to github.com: npm ERR! github.com[0: 192.30.252.120]: errno=No error npm ERR! npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues>
長い時間悩んだのであきらめてEclips使おうか考え中です。
「これでググると出てくるよ」とかでもいいので
もし何かご存知でしたら、教えていただけると助かります。
補足
node.js は入れてみました。
npm --version 2.15.0
atom-runner
script-runner
はインストールできましたが
Unable to find command: /usr/bin/perl
Error: spawn /usr/bin/perl ENOENT で パスでエラーになるし
perlをサポートしてなさそう?
なので、scriptを使おうとしています。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/04/11 04:04
退会済みユーザー
2016/04/11 05:49
2016/04/11 09:03
退会済みユーザー
2016/04/12 03:29