Muhammed-Rahif / Notpad

The ordinary notepad that everyone know, but it's rich!
https://muhammed-rahif.github.io/Notpad/
MIT License
57 stars 32 forks source link

Migrate to deno 2? #165

Closed Muhammed-Rahif closed 1 month ago

Muhammed-Rahif commented 2 months ago

https://github.com/electron/electron/issues/23613

Muhammed-Rahif commented 2 months ago

As per #167 electron is no more on this project, the deno idea has a point. A related to issue on deno side for running sveltekit (https://github.com/denoland/deno/issues/17757):

error: Uncaught Error: Too many open files (os error 24)
    at new FsWatcher (ext:runtime/40_fs_events.js:31:17)
    at Object.watchFs (ext:runtime/40_fs_events.js:93:10)
    at ext:deno_node/_fs/_fs_watch.ts:57:21
    at callback (ext:deno_web/02_timers.js:68:7)
    at eventLoopTick (ext:core/01_core.js:210:13)
Muhammed-Rahif commented 2 months ago

Workaround for now:

echo 10240 | sudo tee /proc/sys/fs/inotify/max_user_instances

https://github.com/denoland/deno/issues/17757#issuecomment-1870211014

Muhammed-Rahif commented 1 month ago

https://github.com/denoland/deno/issues/17757#issuecomment-2408046167