Package Details: standardnotes-desktop 3.194.0-1

Git Clone URL: https://aur.archlinux.org/standardnotes-desktop.git (read-only, click to copy)
Package Base: standardnotes-desktop
Description: An end-to-end encrypted notes app for digitalists and professionals.
Upstream URL: https://standardnotes.com
Keywords: notes
Licenses: GPL-3.0-or-later
Submitter: FillFeile
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 47
Popularity: 0.000000
First Submitted: 2017-06-04 13:58 (UTC)
Last Updated: 2024-04-24 22:28 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

crabvk commented on 2020-06-07 11:12 (UTC)

Hi. I'm getting

==> ERROR: Cannot find the git package needed to handle git sources.

You should add 'git' to makedepends=.
Thank you for the package.

mausworks commented on 2020-01-19 15:57 (UTC)

@Zwenn76, that's interesting! I had to cleanbuild the package (I'm using yay), otherwise it wouldn't work after the update. That error-message is new to me, however, but it doesn't seem like it's an external dependency causing the problem.

Does it build if you clone the GitHub repo, and is node and NPM up-to-date?

Zwenn76 commented on 2020-01-19 15:26 (UTC)

It still doesn't work on my system since the last two updates:

A JavaScript error occurred in the main process Uncaught Exception: /opt/standardnotes-desktop/app/index.js:13 import menuManager from './javascripts/main/menuManager.js' ^^^^^^

SyntaxError: Cannot use import statement outside a module at Module._compile (internal/modules/cjs/loader.js:815:22) at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10) at Module.load (internal/modules/cjs/loader.js:735:32) at Module._load (internal/modules/cjs/loader.js:648:12) at Module._load (electron/js2c/asar.js:717:26) at Function.Module._load (electron/js2c/asar.js:717:26) at Object.<anonymous> (/usr/bin/standardnotes-desktop:30:19) at Module._compile (internal/modules/cjs/loader.js:880:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10) at Module.load (internal/modules/cjs/loader.js:735:32)

Any suggestions

mausworks commented on 2020-01-16 22:13 (UTC)

Awesome @FillFeile! Thanks for the quick update, and thanks again for maintaining!

FillFeile commented on 2020-01-16 19:17 (UTC)

Hey guys, I just uploaded the package-release 2 of version 3.0.25 which should work properly again. Thanks to @Deciare and @mausworks who spotted the problem! I switch from yarn to npm which seems to fix the problem. Back when I started maintaining this package there was a particular reason to use yarn, which I acctually to not remember anymore.. as of now the package uses the standard node package manager again. I also updated the application wrapper JS and removed the deprecated setName() function.

Happy updating!

mausworks commented on 2020-01-16 10:09 (UTC)

@Deciare I did find it a bit peculiar that yarn was used over npm, but I never investigated it, as they should essentially do the same thing. However, yarn does have some fancy "pruning" and "cleanup" functionality built in. It is also "non-standard" to use for NPM.

After cloning the project (and building it) from the GitHub URL i also got it working, but I was using npm install followed by npm run build.

So the fix seems to be to simply use npm over yarn. It will also remove the yarn build dependency which is probably a good idea in the first place.

Deciare commented on 2020-01-16 01:22 (UTC) (edited on 2020-01-16 01:22 (UTC) by Deciare)

This may not be a proper solution, and I'm not familiar with building electron apps. However, I've been able to make the package build successfully by using npm instead of yarn to do the dependency installation and building.

In the PKGBUILD, just replace:

yarn install
yarn build

With:

npm install
npm run build

Even if it's not a proper solution, it may be a helpful workaround for people who just need a working app for now.

mausworks commented on 2020-01-15 10:15 (UTC)

Hey FillFeile, thanks for maintaining this package!

I'm getting the same error as @bryanOmalley, are you sure the error is upstream?

I have electron/node/js experience, so I'll see if I can figure out what's wrong when I get home.

FillFeile commented on 2020-01-14 09:22 (UTC)

Dear @bryanOmalley, sorry about that! I was able to reproduce the issue. Something seemed to glitched trough my pretesting. Sorry about that. As it looks like an error with the app itself I will try to contact the author and report a bug asap. Feel free to do so yourself if you like. Cheers, FillFeile

bryanOmalley commented on 2020-01-12 19:21 (UTC) (edited on 2020-01-12 19:22 (UTC) by bryanOmalley)

Last update seems to have introduced some kind of bug. Standardnotes doesn't open on my end anymore

(electron) 'setName function' is deprecated and will be removed. Please use 'name property' instead.
App threw an error during load
Error: Cannot find module '/opt/standardnotes-desktop/app/dist/node_modules/request/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:268:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:460:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:704:27)
    at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7615:16)
    at Module._load (internal/modules/cjs/loader.js:622:27)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (/opt/standardnotes-desktop/app/dist/javascripts/main/fileUtils.js:23:15)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module '/opt/standardnotes-desktop/app/dist/node_modules/request/index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:268:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:460:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:704:27)
    at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7615:16)
    at Module._load (internal/modules/cjs/loader.js:622:27)
    at Module._load (electron/js2c/asar.js:717:26)
    at Function.Module._load (electron/js2c/asar.js:717:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)
    at require (internal/modules/cjs/helpers.js:68:18)
    at Object.<anonymous> (/opt/standardnotes-desktop/app/dist/javascripts/main/fileUtils.js:23:15)