Page 1 of 1

Error when trying to run tests with mocha and config.json

Posted: Thu Sep 21, 2017 12:04 pm
by aterrong
Hi all,
I just downloaded the 64 bits version of CodeLite and installed it on W8 for Node.js. I didn't install neither any c/c++/php extension nor compiler.

I was able to create a New workspace and run a nodejs 'Hello World'.

But when trying to run a mocha test from an existing folder (where I created a CodeLite workspace) I'm getting the following error:
Error: ENOENT: no such file or directory, open 'C:\Program Files\CodeLite\config\config.json.
I open the mocha test in the IDE and press CTRL+F5. In the path for the Node executable I point out to the mocha one instead. But when running I got that error.

Any suggestion? I tried to find info about how to generate a config.json for CodeLite but I didn't find anything.

TIA

Re: Error when trying to run tests with mocha and config.jso

Posted: Fri Sep 22, 2017 9:06 pm
by eranif
I am not sure that this is a CodeLite related issue (as I am pretty sure I did not add any mocha support...)
Can you please upload an example workspace and exact steps to reproduce?