laurent22 / joplin

Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
44.43k stars 4.8k forks source link

White window Windows 10 #4361

Open serhiipk opened 3 years ago

serhiipk commented 3 years ago

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)

laurent22 commented 3 years ago

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

serhiipk commented 3 years ago

Last working version Joplin 1.3.18

serhiipk commented 3 years ago

Version 1.7.11 does not work, the error is the same

roman-r-m commented 3 years ago

Electron itself supports win32, must be something else then.

roman-r-m commented 3 years ago

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 https://github.com/nodejs/node/pull/35266

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

stale[bot] commented 3 years ago

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.

roman-r-m commented 3 years ago

Not stale

LeslieP-TX commented 3 years ago

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: b28f087bb