Page 1 of 1

Node installation packages

Posted: Fri Aug 02, 2019 12:21 pm
by joao.sauer

I'm quite new to CodeLite and I cannot find a way to fix one problem when using node.js.

I'm trying to run this example: ... 888747891b
Where it changes the package.js to use the Electron package.
But, When running the CodeLite, it is shows:

Code: Select all

➜  ~ /private/tmp/; exit
    throw err;

Error: Cannot find module 'electron'
How can I "tell" to codelite to first run the npm install and then run the code?
Or I'm doing something wrong here?

Re: Node installation packages

Posted: Sat Aug 03, 2019 10:18 pm
by eranif
Right click on the project and select 'npm install'