Giter Site home page Giter Site logo

Comments (4)

ptrxyz avatar ptrxyz commented on June 3, 2024

I might add to my request, that after getting this SegFault, I tried to build the application myself using the source. However without success, which might be related to me not being super familiar with all this Electron stuff.

however, this is what I did:

$ git clone https://github.com/codex-team/codex.notes.git
$ git checkout v2.2.4
$ yarn install
$ mv env.sample.js env.js
$ yarn build
$ yarn run dist      # up to here, everything went fine without any errors.
$ dist/codex.notes-2.2.4-x86_64.AppImage    # this failed...

image

from codex.notes.

ptrxyz avatar ptrxyz commented on June 3, 2024

I did some more testing and running the application simply using yarn run start gets me to the main window. However nothing happens when I click on anything.

I made a screen shot with the dev tools open, this is how it looks right after the start (without doing anything):
image

from codex.notes.

ptrxyz avatar ptrxyz commented on June 3, 2024

Ok, this seems to fix it:

diff --git a/src/codex-notes.js b/src/codex-notes.js
index e7a5051..c2e3675 100644
--- a/src/codex-notes.js
+++ b/src/codex-notes.js
@@ -159,7 +159,10 @@ class CodexNotes {
       height: 700,
       backgroundColor: '#fff',
       titleBarStyle: 'hiddenInset',
-      show: false
+      show: false,
+      webPreferences: {
+             nodeIntegration: true
+      }
     };
 
     /**

from codex.notes.

grassick avatar grassick commented on June 3, 2024

Segfaults immediately on Pop!_OS 22.04 LTS.

from codex.notes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.