Git Product home page Git Product logo

Comments (8)

007divyachawla avatar 007divyachawla commented on August 22, 2024 1

@RenwaX23 I have tried the steps what you mention, on running electron . it gives the following error.

electron . 1 ⨯
[24863:0202/013633.721484:FATAL:electron_main_delegate.cc(253)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
/usr/local/lib/node_modules/electron/dist/electron exited with signal SIGTRAP

Also can you confirm which OS is best where we dont get the error, also can you mention the prerquistes for the same.Its a request.

from xsstron.

xElkomy avatar xElkomy commented on August 22, 2024

I think you must run it on low privilege user

from xsstron.

007divyachawla avatar 007divyachawla commented on August 22, 2024

I am also getting same error in Kali linux. But on running the npm install as a low privilige user.

npm ERR! code EACCES
npm ERR! syscall open
npm ERR! path /home/kali/Downloads/XSSTRON/package-lock.json
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, open '/home/kali/Downloads/XSSTRON/package-lock.json'
npm ERR! [Error: EACCES: permission denied, open '/home/kali/Downloads/XSSTRON/package-lock.json'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/home/kali/Downloads/XSSTRON/package-lock.json'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/kali/.npm/_logs/2021-02-01T15_32_21_582Z-debug.log

Please suggest

from xsstron.

RenwaX23 avatar RenwaX23 commented on August 22, 2024

Hey try these hope it fixes your problem

  • Try to update npm and nodejs to latest version
  • delete node_modules folder and reinstall
  • in package.json change the electron devDepencies to (electron11-bin)
  • install electron using (npm install electron) and run the app with electron using (electron .)

with each step remember to delete the node_modules folder and re install again using (npm install)

from xsstron.

007divyachawla avatar 007divyachawla commented on August 22, 2024

Renwa Can u please include this step in the mail page for other people to help.

from xsstron.

RenwaX23 avatar RenwaX23 commented on August 22, 2024

Added, does this fixed your problem(s)?

from xsstron.

marz-hunter avatar marz-hunter commented on August 22, 2024

can this be installed on windows?

from xsstron.

RenwaX23 avatar RenwaX23 commented on August 22, 2024

Hey this seems to be issue with Electron itself for now you can use on other systems Windows, OSX and Linux installed on Windows

from xsstron.

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.