Skip to content
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

White window Windows 10 #4361

Open
serhiipk opened this issue Jan 14, 2021 · 8 comments
Open

White window Windows 10 #4361

serhiipk opened this issue Jan 14, 2021 · 8 comments
Labels
backlog We'll get to it... eventually... bug It's a bug desktop All desktop platforms windows

Comments

@serhiipk
Copy link

serhiipk commented Jan 14, 2021

Windows 10 32bit ver. 20H2
Joplin ...-1.3.18 work
Joplin 1.4.12-1.7.11 and Portable version does not work

error

internal/modules/cjs/loader.js:964 Uncaught Error: Cannot find module 'C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\node_modules\sqlite3\lib\binding\napi-v3-win32-ia32\node_sqlite3.node'
Require stack:

C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\node_modules\sqlite3\lib\sqlite3-binding.js
C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\node_modules\sqlite3\lib\sqlite3.js
C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\database-driver-node.js
C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\BaseApplication.js
C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\app.js
C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\index.html
at Module._resolveFilename (internal/modules/cjs/loader.js:961)
at Function.i._resolveFilename (electron/js2c/renderer_init.js:39)
at Module._load (internal/modules/cjs/loader.js:844)
at Function.Module._load (electron/js2c/asar.js:769)
at Module.require (internal/modules/cjs/loader.js:1023)
at require (internal/modules/cjs/helpers.js:77)
at Object. (C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\node_modules\sqlite3\lib\sqlite3-binding.js:4)
at Object. (C:\Users\serhii\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\node_modules\sqlite3\lib\sqlite3-binding.js:7)
at Module._compile (internal/modules/cjs/loader.js:1145)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1166)

@serhiipk serhiipk added the bug It's a bug label Jan 14, 2021
@laurent22
Copy link
Owner

It's possible that one of our dependencies no longer supports Windows 32-bit. What was the last working version for you?

@serhiipk
Copy link
Author

Last working version Joplin 1.3.18

@serhiipk
Copy link
Author

Version 1.7.11 does not work, the error is the same

@roman-r-m
Copy link
Collaborator

Electron itself supports win32, must be something else then.

@roman-r-m
Copy link
Collaborator

roman-r-m commented Mar 13, 2021

I unpacked the portable .exe file to see what is at the path that is mentioned in the error message (app.asar\node_modules@joplin\lib\node_modules\sqlite3\lib\binding\napi-v3-win32-ia32\node_sqlite3.node),
It does not look right:

/node_modules/@joplin/lib/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-win32-x64
/node_modules/@joplin/lib/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-win32-x64/node_sqlite3.node
/node_modules/@joplin/lib/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-win32-ia32
/node_modules/@joplin/lib/node_modules/sqlite3/lib/binding/napi-v{napi_build_version}-win32-ia32/node_sqlite3.node
/node_modules/@joplin/lib/node_modules/sqlite3/lib/binding/napi-v3-win32-x64
/node_modules/@joplin/lib/node_modules/sqlite3/lib/binding/napi-v3-win32-x64/node_sqlite3.node

For some reason v32 files have v{napi_build_version} instead of v3.
Possibly related to nodejs/node#35266

That issue is resolved so may be ensuring the latest node 10.x is used should fix it.

@stale
Copy link

stale bot commented Apr 18, 2021

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

@stale stale bot added the stale An issue that hasn't been active for a while... label Apr 18, 2021
@roman-r-m roman-r-m added backlog We'll get to it... eventually... desktop All desktop platforms labels May 5, 2021
@stale stale bot removed stale An issue that hasn't been active for a while... labels May 5, 2021
@roman-r-m
Copy link
Collaborator

Not stale

@LeslieP-TX
Copy link

Currently have this issue. Windows 10 64-bit machine.

Appears to be in the interaction between "show tray icon" and "start app minimized"
Options/Application

  1. everything de-selected: white screen for a few seconds, a flash, a few seconds, then it opens as normal.
  2. enable show tray icon only: same
  3. enable start app minimized only: same (doesn't start minimized)
  4. enable show tray icon AND start app minimized: white screen

If I close that white screen (X in upper right) then click the tray icon, program opens normally

My recollection is fuzzy, but this has not always been the case, I've only been using the program for a week or two and have had the two options (tray icon+start minimized) enabled from the start, worked fine until just recently.

Joplin 1.8.5 (prod, win32)

Client ID: 6327ab704b024eb4bdcbe303ab1b104e
Sync Version: 2
Profile Version: 35
Keychain Supported: Yes

Revision: b28f087

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog We'll get to it... eventually... bug It's a bug desktop All desktop platforms windows
Projects
None yet
Development

No branches or pull requests

4 participants