i'm running node-gh normally,but with gh-travis i got this issue:
PS D:\workspaces\Node.js\Node-GH\elixir> gh tr
C:\Users\RAMON\AppData\Roaming\npm\gh-tr.CMD:1
(function (exports, require, module, __filename, __dirname) { :: Created by np
^
gh [error] Command not found
PS D:\workspaces\Node.js\Node-GH\elixir>
Opening this file gh-travis.cmd,the script is different from gh.cmd and others *.cmd files inside of C:\Users\RAMON\AppData\Roaming\npm folder.
gh-tr.cmd:
:: Created by npm, please don't edit manually.
"%~dp0\node_modules\gh-travis\bin\gh-travis.js" %*
gh.cmd:
:: Created by npm, please don't edit manually.
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\node_modules\gh\bin\gh.js" %*
) ELSE (
node "%~dp0\node_modules\gh\bin\gh.js" %*
)
mocha.cmd
:: Created by npm, please don't edit manually.
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\node_modules\mocha\bin\mocha" %*
) ELSE (
node "%~dp0\node_modules\mocha\bin\mocha" %*
)
Searching, i found a possible solution:
http://stackoverflow.com/questions/10396305/npm-package-bin-script-for-windows
https://github.com/isaacs/npm/issues/2547
i'm running node-gh normally,but with gh-travis i got this issue:
PS D:\workspaces\Node.js\Node-GH\elixir> gh tr C:\Users\RAMON\AppData\Roaming\npm\gh-tr.CMD:1 (function (exports, require, module, __filename, __dirname) { :: Created by np ^ gh [error] Command not found PS D:\workspaces\Node.js\Node-GH\elixir>Opening this file gh-travis.cmd,the script is different from gh.cmd and others *.cmd files inside of C:\Users\RAMON\AppData\Roaming\npm folder.
gh-tr.cmd:
gh.cmd:
mocha.cmd
Searching, i found a possible solution:
http://stackoverflow.com/questions/10396305/npm-package-bin-script-for-windows
https://github.com/isaacs/npm/issues/2547