notion-enhancer / notion-repackaged

notion executables with the notion-enhancer embedded & a vanilla port of the official app to linux
https://notion-enhancer.github.io/getting-started/installation
MIT License
912 stars 52 forks source link

Error while starting notion-app #120

Closed ghost closed 11 months ago

ghost commented 12 months ago

When I start the notion-app, I get this error message:

Error: Error: ENOENT: no such file or directory, open '/opt/Notion/resources/app-update.yml'.

I am using Fedora 38 and I installed it from the yum repository.

dragonwocky commented 12 months ago

Try creating a text file in the /opt/Notion/resources folder and naming it app-update.yml

ghost commented 12 months ago

After creating the file I get the following error message:

Error: TypeError: Cannot read property 'provider' of undefined at createClient (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/providerFactory.js:69:25) at /opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:479:99 at async AppImageUpdater.getUpdateInfoAndProvider (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:482:20) at async AppImageUpdater.doCheckForUpdates (/opt/Notion/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:503:20) at async pollForElectronUpdates (/opt/Notion/resources/app.asar/main/autoUpdater.js:163:17)

dragonwocky commented 11 months ago

Right, sorry - just double checked, the auto updater only works on Windows, so that file was intentionally left non-existent. Delete the file and you should be able to ignore the ENOENT error safely. If you're having infinite loading issues, they're unrelated to this error message, please see https://github.com/notion-enhancer/notion-repackaged/issues/116