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

command 'code-runner.run' not found #393

Open
VeselinAtanasov opened this issue Nov 15, 2018 · 11 comments
Open

command 'code-runner.run' not found #393

VeselinAtanasov opened this issue Nov 15, 2018 · 11 comments

Comments

@VeselinAtanasov
Copy link

I did try everything - reinstall Code Runner several times, add the default settings, etc, but still getting the error 'command 'code-runner.run' not found'. I ma testing it with simple app.js file with 2 console.logs in in and every time I press Code Run button I am getting this error. When I try with Ctr+Alt+N I am getting the same error too :command 'code-runner.run' not found. Just for the reference the extension worked perfectly some months ago

@Death-Waltz
Copy link

Same problem here!
Code Runner Failure

@YingLaiLin
Copy link

same here. I just update my system to mojave and error appeared.

@pierrecoach
Copy link

Same here.
I tried to uninstall reinstall extension, then uninstall and delete formulahendry.code-runner-0.9.11 in profile and reinstall, no way.
Then I also removed settings under appdata\code\roaming, and uninstalled
Then extension appeared as installed but could not uninstall nor install
Then I stoped code, I ensured all extension traces are cleaned up, then restart code, reinstall extension,
thn it works, oufff!

@YingLaiLin
Copy link

I find a solution for this, but I forget where I get from.
comment following code in formulahendry.code-runner-0.9.10/out/src/codeManager.js, and edit it like follows :
//const micromatch = require("micromatch");
line 225~236:
/* if (executor == null) {
const executorMapByGlob = this._config.get("executorMapByGlob");
if (executorMapByGlob) {
const fileBasename = path_1.basename(this._document.fileName);
for (const glob of Object.keys(executorMapByGlob)) {
if (micromatch.isMatch(fileBasename, glob)) {
executor = executorMapByGlob[glob];
break;
}
}
}
} */

@superchangme
Copy link

@YingLaiLin you are 纯爷们
大家注意 //const micromatch = require("micromatch"); 也需要注释掉 --- pay attention this line should be commented also!!!!(on line 12)

@Chuks-Onuh
Copy link

I have tried all the possible solutions highlighted above but still not working

@Luck19921
Copy link

Luck19921 commented Sep 16, 2020

Just uninstall all of extension and Visual Studio Code.
Then, installing Visual Studio Code & Code Runner & C/C++(extension) again. The way it works in my case.

@etherRAWRR
Copy link

Just uninstall all of extension and Visual Studio Code.
Then, installing Visual Studio Code & Code Runner & C/C++(extension) again. The way it works in my case.

i also thought for it

@soheil56
Copy link

Hello, it didn't work for me!

bild

@aayan-glitch
Copy link

yeah just sop using vscode all long then :)

@NaveenkumarMD
Copy link

I don't want this extension.I even uninstalled this but still when I click on "shit+r" .I always get this error.
image
image
I am really frustated.Can't able to use capital "r" anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests