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

General questions regarding the usage of CodeLite
aterrong
CodeLite Curious
Posts: 1
Joined: Thu Sep 21, 2017 11:31 am
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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?
Make sure you have read the HOW TO POST thread
Post Reply