-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows require error - stdout stderr not work on Win32 #133
Comments
There is not enough precision here for the problem to be solved. But if you are building a desktop application, you'd better use a compiled version of sqlite. It will be much faster and there are very good packages on npm to do just that. |
i've resolved with 'remote' module |
remote module has other problems, but i've find another possible solution.
when the application is executed on windows by double-clicking on the .exe file (compiled version) the error is triggered because of the line written in the console, which is not present on Windows unless the application is launched using the command prompt |
This also happens in a nwjs-Environment on Win. The problem here is that ENVIRONMENT_IS_WEB is also true in a nwjs-Environment. A as workaround I suggest to modify the sql-debug as follows:
basically disabling node functionality. As a permanent solution I propose to set these Environment-Variables within a if-else-Statement to prevent more than one to be set to TRUE. |
hello,
i'm using sql.js with electron. I've packaged app for OSX and Windows
OSX all works fine, but in windows
require('sql.js');
generate error
Uncaught Error: EPERM: operation not permitted, write
how can solve this problem?
The text was updated successfully, but these errors were encountered: