Package Details: marktext 0.17.1-4

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://www.marktext.cc
Keywords: editor electron markdown note
Licenses: MIT
Submitter: dopsi
Maintainer: alerque
Last Packager: alerque
Votes: 26
Popularity: 0.000005
First Submitted: 2018-05-01 08:22 (UTC)
Last Updated: 2024-03-28 00:15 (UTC)

Pinned Comments

alerque commented on 2023-11-02 11:09 (UTC)

PSA: The build process for this package is known to be broken because it requires older versions of stuff than is available in Arch now. The only way I know of to install it is to use packages that were built back when the npm in Arch was older. You can use my user repository to get the latest successful build.

Latest Comments

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

alerque commented on 2020-03-07 10:43 (UTC)

Please build this using the Arch electron package as a dependency instead of bundling it. I realize this is a pain to get going at first but it is a much better outcome for systems that run it. I can probably contribute a patch to get it working if you add me as a co-maintainer.

phiL0co commented on 2019-11-18 18:55 (UTC)

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

Maddix commented on 2019-11-18 18:21 (UTC)

@GitSquared That did it. Thanks!

<deleted-account> commented on 2019-11-18 18:08 (UTC)

@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 (UTC) (edited on 2019-11-18 18:18 (UTC) by Maddix)

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.

<deleted-account> commented on 2019-11-07 21:44 (UTC)

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 (UTC)

Same error here!

lujipeka commented on 2019-11-04 07:07 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-07-22 22:28 (UTC) by dc3p)

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.