Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

git returned error code 128

See original GitHub issue

I am executing Sample Project with Sample code available But getting Error “git returned error code 128” Code: const BotDriver = require(‘botium-core’).BotDriver const Capabilities = require(‘botium-core’).Capabilities const Source = require(‘botium-core’).Source

function assert (expected, actual) { if (!actual || actual.indexOf(expected) < 0) { console.log(ERROR: Expected <${expected}>, got <${actual}>) } else { console.log(SUCCESS: Got Expected <${expected}>) } }

const driver = new BotDriver() .setCapability(Capabilities.PROJECTNAME, ‘core-CreateNewConversation’) .setCapability(Capabilities.BOTFRAMEWORK_API, true) .setCapability(Capabilities.BOTFRAMEWORK_APP_ID, ‘my microsoft app id’) .setCapability(Capabilities.BOTFRAMEWORK_CHANNEL_ID, ‘facebook’) .setCapability(Capabilities.CLEANUPTEMPDIR, false) .setSource(Source.GITURL, ‘’) .setSource(Source.GITDIR, ‘Node/core-CreateNewConversation’) .setSource(Source.GITPREPARECMD, ‘npm install’) .setCapability(Capabilities.STARTCMD, ‘npm start’) .setEnv(‘MICROSOFT_APP_ID’, ‘my microsoft app id’) .setEnv(‘MICROSOFT_APP_PASSWORD’, ‘my microsoft app password’) .setEnv(‘NODE_DEBUG’, ‘botbuilder’) .setEnv(‘DEBUG’, ‘*’)

driver.BuildFluent() .Start() .UserSaysText(‘hi bot’) .WaitBotSaysText((text) => assert(‘You've been invited to a survey! It will start in a few seconds…’, text)) .WaitBotSaysText(null, 10000, (text) => assert(‘Hello… What's your name?’, text)) .UserSaysText(‘John’) .WaitBotSaysText((text) => assert(‘Hi John, How many years have you been coding?’, text)) .UserSaysText(‘5’) .WaitBotSaysText((text) => assert(‘What language do you code Node using?’, text)) .UserSaysText(‘CoffeeScript’) .WaitBotSaysText((text) => assert(‘Got it… John you've been programming for 5 years and use CoffeeScript.’, text)) .Stop() .Clean() .Exec() .then(() => { console.log(‘READY’) }) .catch((err) => { console.log('ERROR: ', err) })

My Error: iMaheshwari-4:botium Mukesh$ node botiumFluent.js ERROR: Error: git returned error code 128 at ChildProcess.<anonymous> (/Users/Mukesh/botium/node_modules/botium-core/dist/botium-cjs.js:1330:18) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:891:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) iMaheshwari-4:botium Mukesh$

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

codeforequity-atcommented, Jan 17, 2019

No, there currently is no way to control this. I added it to our backlog, but for now you have to find another solution. With the environment variable BOTIUM_TEMPDIR you can place the temporary files into a very short path like C:/Temp instead of the project directory, maybe this helps (in my case it helped).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve "git did not exit cleanly (exit code 128)" error ...
exit code 128 means a lot of things. In my case, the destination path where the project is cloning is "long". I tried...
Read more >
Getting error (Git returned an unexpected exit code '128') after ...
Steps to Reproduce ... Open Desktop. You get error. Close and re-open Desktop. You will get this error again. You will also get...
Read more >
'git status' failed with code 128: fatal: unable to read
1 accepted. To run that command, just open the repo and hit "Terminal". Check in Sourcetree preferences if your project has proper path....
Read more >
getting git fetch failed with exit code 128
If you are able to use git command to connect and clone that repo. This means there is something wrong with your build...
Read more >
Jenkins returned code status 128 with github - Intellipaat
The error that shows in this question indicates that Jenkins is trying to connect git-hub with the wrong ssh key.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found