-
Notifications
You must be signed in to change notification settings - Fork 739
Error: Cannot find module #956
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
Comments
There's something seriously wrong if |
and what does this line means
Is there is anything from my side that i can try |
I think that's one of the temp files we use to plumb stdio to/from the child process. I think, when we can't find the child-exec.js module, we try to throw an exception using the stderr value for the message. But there might be no stderr if child-exec.js never runs, so we're hitting a double error. I think the main issue is still that we can't find child-exec.js though, and I don't think the "double error" is itself an issue, since it's reasonable to expect all our files to be there. Is this something you can repro locally? I'm worried the flakiness will make this hard to investigate (I've never seen the issue locally or on our own CI). |
Okay thanks, since this is happening quite randomly on cicd server, will try to reproduce this locally and if happens, will update it here. |
Node version (or tell us if you're using electron or some other framework):
v8.10.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.8.3
Operating system:
Ubuntu
Description of the bug:
I am using shelljs to execute git commands in the jenkins build server and it works fine most of the time, shelljs is breaking randomly and i am not sure what is causing this error, here is the stack trace
Example ShellJS command to reproduce the error:
shell.exec(
git tag -l --sort=-v:refname
, {async:false, silent: !this.logging});The text was updated successfully, but these errors were encountered: