Package Details: marktext 0.15.1-3

Git Clone URL: https://aur.archlinux.org/marktext.git (read-only, click to copy)
Package Base: marktext
Description: A simple and elegant open-source markdown editor that focused on speed and usability
Upstream URL: https://github.com/marktext/marktext
Keywords: editor electron markdown note
Licenses: MIT
Conflicts: marktext-bin, marktext-git
Provides: marktext
Submitter: dopsi
Maintainer: GitSquared
Last Packager: GitSquared
Votes: 11
Popularity: 1.28
First Submitted: 2018-05-01 08:22
Last Updated: 2019-11-07 21:38

Latest Comments

1 2 Next › Last »

phiL0co commented on 2019-11-18 18:55

THX @GitSquared for adopting and solving the problem! :)

Maddix commented on 2019-11-18 18:21

@GitSquared That did it. Thanks!

GitSquared commented on 2019-11-18 18:08

@Maddix The latest builds of Chromium embedded into Electron have sandboxing enabled by default. On Linux this requires permission to run unprivileged containers in "User Namespaces". Most distros now default to allowing the use of this kernel features for all users, but the default used to be to only allow root to access it.

To enable user namespaces for non-root users (from ArchWiki): sysctl kernel.unprivileged_userns_clone=1

Mark Text should work once you enable that.

Maddix commented on 2019-11-18 18:03

I just upgraded my system and can't seem to get this to run without the --no-sandbox flag. I wonder if its my system has a configuration issue or if a package is missing.

GitSquared commented on 2019-11-07 21:44

I adopted this package and rewrote the PKGBUILD, releasing v0.15.1-3. I reduced the number of dependencies and cleaned up some other stuff.

phiL0co commented on 2019-11-05 10:33

Same error here!

lujipeka commented on 2019-11-04 07:07

When I'm executing the app I got this error:

App threw an error during load
Error: Module did not self-register.
    at process.func (electron/js2c/asar.js:138:31)
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:922:18)
    at Object.func (electron/js2c/asar.js:138:31)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    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:715:26)
    at Function.Module._load (electron/js2c/asar.js:715:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Module did not self-register.
    at process.func (electron/js2c/asar.js:138:31)
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:922:18)
    at Object.func (electron/js2c/asar.js:138:31)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    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:715:26)
    at Function.Module._load (electron/js2c/asar.js:715:26)
    at Module.require (internal/modules/cjs/loader.js:775:19)

lujipeka commented on 2019-10-22 05:39

I just installed the last version of the package and got this error

App threw an error during load
Error: /usr/share/marktext/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node: cannot open shared object file: No such file or directory
    at process.func (electron/js2c/asar.js:138:31)
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
    at Object.func (electron/js2c/asar.js:138:31)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/usr/share/marktext/app.asar/node_modules/keyboard-layout/lib/keyboard-layout.js:4:35)
A JavaScript error occurred in the main process
Uncaught Exception:
Error: /usr/share/marktext/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node: cannot open shared object file: No such file or directory
    at process.func (electron/js2c/asar.js:138:31)
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
    at Object.func (electron/js2c/asar.js:138:31)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    at Module.load (internal/modules/cjs/loader.js:645:32)
    at Function.Module._load (internal/modules/cjs/loader.js:560:12)
    at Module.require (internal/modules/cjs/loader.js:685:19)
    at require (internal/modules/cjs/helpers.js:16:16)
    at Object.<anonymous> (/usr/share/marktext/app.asar/node_modules/keyboard-layout/lib/keyboard-layout.js:4:35)

dc3p commented on 2019-07-22 22:26

I just tried installed this, and got the following error when trying to execute:

A JavaScript error occurred in the main process
Uncaught Exception:
Error: /tmp/.org.chromium.Chromium.EOA3xs: undefined symbol: _ZN2v82V813DisposeGlobalEPPNS_8internal6ObjectE
    at process.func [as dlopen] (electron/js2c/asar.js:155:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:857:18)
    at Object.func [as .node] (electron/js2c/asar.js:164:18)
    at Module.load (internal/modules/cjs/loader.js:677:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:609:12)
    at Function.Module._load (internal/modules/cjs/loader.js:601:3)
    at Module.require (internal/modules/cjs/loader.js:715:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.<anonymous> (/usr/share/marktext/app.asar/node_modules/keyboard-layout/lib/keyboard-layout.js:4:31)
    at Module._compile (internal/modules/cjs/loader.js:815:30)

Any ideas? Thanks!

In case it matters, I am running the linux-hardened kernel.

dbirks commented on 2019-05-15 13:22

I changed it to build with yarn (thanks @alf!). I also changed it to use the system's shared electron, to save on space when many electron apps are installed. Looks like it saves 100+ MB on the installed size :)