Package Details: standardnotes-desktop 3.4.1-1

Git Clone URL: https://aur.archlinux.org/standardnotes-desktop.git (read-only, click to copy)
Package Base: standardnotes-desktop
Description: A standard notes app with an un-standard focus on longevity, portability, and privacy.
Upstream URL: https://standardnotes.org/
Keywords: notes
Licenses: GPL3
Conflicts: sn-bin
Submitter: FillFeile
Maintainer: FillFeile
Last Packager: FillFeile
Votes: 39
Popularity: 1.02
First Submitted: 2017-06-04 13:58
Last Updated: 2020-05-05 05:44

Latest Comments

1 2 3 4 Next › Last »

mausworks commented on 2020-01-19 15:57

@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

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

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

FillFeile commented on 2020-01-16 19:17

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

@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

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

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

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

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)

FillFeile commented on 2019-10-09 07:06

Dear Users, I'm unable to update the package to the latest version at the moment, cause it seems that the latest release tag (v3.0.17) is somehow messed up. Please find details here: https://github.com/standardnotes/desktop/issues/406 Cheers, FillFeile