Node js modules not working

Issues related to Enigma Virtual Box
Post Reply
Srini
Posts: 4
Joined: Wed Aug 10, 2016 2:25 pm

Node js modules not working

Post by Srini »

Hi ,

Trying to compile the single exe of the node project but the output exe is not rendering the node commands. Also the node path, express or nedb modules are not working. Is there any process or method to include the node modules to work inside virtual box? Please advise. Thank you.

Regards,
Srini
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Node js modules not working

Post by Enigma »

Hi Srini, can you please post here a screenshot of your settings in EVB?

And also, post all the files you are trying to pack, so we can check it out.
Srini
Posts: 4
Joined: Wed Aug 10, 2016 2:25 pm

Re: Node js modules not working

Post by Srini »

Enigma wrote:Hi Srini, can you please post here a screenshot of your settings in EVB?

And also, post all the files you are trying to pack, so we can check it out.
Hi I am sorry for late reply. As per request, here attached sample files and chosen settings screenshot.

Settings :
https://www.dropbox.com/s/9ucab3mf27wn3ya/Capture1.PNG
https://www.dropbox.com/s/9vlh1kkprw5mm ... 2.PNG?dl=0

Sample project : https://www.dropbox.com/s/lp6x3c9xjfhco ... e.rar?dl=0

Thank you for your support.
--Srini
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Node js modules not working

Post by Enigma »

You need to enable all features on Option panel, then pack again, after that the file will be working well.
Srini
Posts: 4
Joined: Wed Aug 10, 2016 2:25 pm

Re: Node js modules not working

Post by Srini »

Enigma wrote:You need to enable all features on Option panel, then pack again, after that the file will be working well.
Hi,

I tried to create exe by enabling all features on Option panel but still it is not working. Now the exe is crashing. Can you please suggest on this. Thank you.

Regards,
Srini
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Node js modules not working

Post by Enigma »

What version of Windows do you use?

Can you help us to check the problem on your PC using teamviewer or remote desktop connection?

Please also try to disable your antivirus, just to check if it affects the problem.
Srini
Posts: 4
Joined: Wed Aug 10, 2016 2:25 pm

Re: Node js modules not working

Post by Srini »

Sorry for late reply. Once we enabled all 3 options then it is working fine.

What is the max file size allowed to run the exe? Also noticed that 4-5 min to load the exe. The size of exe is 2.5Gb. Is there any option to improve the loading time and can we show some progress while exe is executing to open.

Thank you.
Ilya
Posts: 82
Joined: Tue Oct 07, 2014 2:31 am

Re: Node js modules not working

Post by Ilya »

1) If exe has so much size, then you are doing something wrong. Maybe you dont need pack all files in exe.
2) You can make exe loader, which can show "Loading" banner
Post Reply