Giter VIP home page Giter VIP logo

Comments (10)

pfrazee avatar pfrazee commented on May 5, 2024

Hey @thomasdelaet. Did you run npm install -d, with the -d switch on?

from patchwork.

thomasdelaet avatar thomasdelaet commented on May 5, 2024

Not sure anymore. Will try again.

I read documentation in your docs repository and tried npm start. This gives the following output:

thomas@sting:~/repositories/patchwork$ npm start

[email protected] start /home/thomas/repositories/patchwork
electron .

[25065:0831/180759:ERROR:browser_main_loop.cc(173)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
App threw an error when running [Error: Module version mismatch. Expected 44, got 14.]
A JavaScript error occured in the browser process
Uncaught Exception:
Error: Module version mismatch. Expected 44, got 14.
at Error (native)
at Object.module.(anonymous function) (ATOM_SHELL_ASAR.js:137:20)
at Object.module.(anonymous function) as .node
at Module.load (module.js:351:32)
at Function.Module._load (module.js:306:12)
at Module.require (module.js:361:17)
at require (module.js:380:17)
at Object. (/home/thomas/repositories/patchwork/node_modules/ssb-keys/node_modules/chloride/lib/sodium.js:16:15)
at Module._compile (module.js:426:26)
at Object.Module._extensions..js (module.js:444:10)

from patchwork.

thomasdelaet avatar thomasdelaet commented on May 5, 2024

-d flag is just for debugging, right? So it wouldnt change anything I guess ...

from patchwork.

pfrazee avatar pfrazee commented on May 5, 2024

@thomasdelaet -d tells npm to install dev dependencies. We're still in active development, so you need those.
Also, I'm running [email protected], and you'll probably need to do the same. I recommend using https://github.com/creationix/nvm to set the version.

from patchwork.

thomasdelaet avatar thomasdelaet commented on May 5, 2024

Okay. Clear.

The documentation mentions 2.5.0 BTW. But will try with 2.3.0

from patchwork.

thomasdelaet avatar thomasdelaet commented on May 5, 2024

Works. Thanks!

I think the reason was that I didnt install automake + also didnt use iojs

from patchwork.

thomasdelaet avatar thomasdelaet commented on May 5, 2024

would be great to get an invite ;-)

from patchwork.

pfrazee avatar pfrazee commented on May 5, 2024

Cool :) sorry for the trouble, we're not quite operational yet

from patchwork.

dominictarr avatar dominictarr commented on May 5, 2024

@thomasdelaet here is an invite for you: 176.58.117.63:8008:@j+0DGLgRn8H5tVLCcRUfN7NfUcTGEZKqML3krEOJjDY=.ed25519~u+ZSuJhpItAboqAYtVo0wmW9iLmY6t7QGp+qXlz2GAE=

from patchwork.

mixmix avatar mixmix commented on May 5, 2024

I had the same issue. I've got the app working on iojs 2.5, (used that because of this doc), but unable to get npm run pack working.

will try with iojs 2.3

from patchwork.

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.