Build issue


#1

When i build my app with electron-packager (electron v0.33.3) for win32, all working fine, but when Im trying build my app with the latest electron version (v0.36.7) after I run the app, I got this error

Uncaught Error: Cannot find module 'jquery'

How to solve it?


#2

How is jquery referenced? If it’s in a script tag and not using a require statement, that’s your issue. This issue is documented quite a few times in the forums. I was trying to include the code snippet to make it work but I’m on my phone and it’s being a pain, sorry


#3

I found a problem, in electron-packager was argument –ignore=dist and after building the folder node_modules/jquery/dist is deleted. Thats why jquery does not working :expressionless: