Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM install is not a git repo #2

Open
drkno opened this issue May 7, 2017 · 0 comments
Open

NPM install is not a git repo #2

drkno opened this issue May 7, 2017 · 0 comments
Labels

Comments

@drkno
Copy link
Member

drkno commented May 7, 2017

Steps to reproduce:

npm install concierge-bot -g
concierge
...
Concierge> /kpm install update
Concierge> /update

Expected outcome:
Concierge will update itself.

Actual outcome:

error: "/update" (update) threw up. TESTING is now covered in sick.
error: Error: Command failed: "git" "pull"
fatal: Not a git repository (or any of the parent directories): .git

    at checkExecSyncError (child_process.js:481:13)
    at execSync (child_process.js:521:13)
    at commandWithPath (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\common\git.js:19:22)
    at command (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\common\git.js:33:5)
    at Object.exports.pull (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\common\git.js:37:5)
    at Object.exports.run (C:\Users\Matthew\Desktop\hubot\update\update.js:109:9)
    at Platform._middlewareRunner (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\common\middleware.js:36:33)
    at Platform.runMiddlewareSync (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\common\middleware.js:73:25)
    at Platform._handleTransaction (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\platform.js:65:52)
    at Platform._handleMessage (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\platform.js:98:51)
    at Platform._middlewareRunner (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\common\middleware.js:36:33)
    at Platform.runMiddleware (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\common\middleware.js:61:18)
    at Platform.onMessage (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\platform.js:114:18)
    at TestIntegration._receivedCallback (C:\Users\Matthew\AppData\Roaming\npm\node_modules\concierge-bot\core\modules\modules.js:245:21)
    at TestIntegration._commandAny (C:\Users\Matthew\Desktop\hubot\test\test.js:81:18)
    at Cli.parse (C:\Users\Matthew\Desktop\hubot\test\node_modules\cline\index.js:320:35)
    at Cli.<anonymous> (C:\Users\Matthew\Desktop\hubot\test\node_modules\cline\index.js:182:18)
    at Cli.defaultFn (C:\Users\Matthew\Desktop\hubot\test\node_modules\cline\index.js:53:13)
    at Cli.fn (C:\Users\Matthew\Desktop\hubot\test\node_modules\cline\index.js:217:23)
    at Interface.<anonymous> (C:\Users\Matthew\Desktop\hubot\test\node_modules\cline\index.js:148:18)
    at emitOne (events.js:96:13)
    at Interface.emit (events.js:191:7)
    at Interface._onLine (readline.js:241:10)
    at Interface._line (readline.js:590:8)
    at Interface._ttyWrite (readline.js:869:14)
    at ReadStream.onkeypress (readline.js:120:10)
    at emitTwo (events.js:106:13)
    at ReadStream.emit (events.js:194:7)
    at emitKeys (internal/readline.js:402:14)
    at emitKeys.next (<anonymous>:null:null)
    at ReadStream.onData (readline.js:980:36)
    at emitOne (events.js:96:13)
    at ReadStream.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:178:18)
    at ReadStream.Readable.push (_stream_readable.js:136:10)
    at TTY.onread (net.js:560:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant