Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while running the nmp install & nmp start #2

Closed
plutob0i opened this issue Feb 2, 2021 · 3 comments
Closed

Error while running the nmp install & nmp start #2

plutob0i opened this issue Feb 2, 2021 · 3 comments

Comments

@plutob0i
Copy link

plutob0i commented Feb 2, 2021

Hello, I'm facing this error while iinstalling the tool,

sudo npm install
[sudo] password for kali:

core-js@3.8.2 postinstall /home/kali/XSSTRON/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

electron@11.2.0 postinstall /home/kali/XSSTRON/node_modules/electron
node install.js
Downloading electron-v11.2.0-linux-x64.zip: [====================================================================================================] 100% ETA: 0.0 seconds
Error: EACCES: permission denied, stat '/root/.cache/electron/httpsgithub.comelectronelectronreleasesdownloadv11.2.0SHASUMS256.txt/SHASUMS256.txt'
npm WARN XSSTRON@1.0.0 No repository field.
npm WARN XSSTRON@1.0.0 license should be a valid SPDX license expression

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@11.2.0 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@11.2.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-02T06_58_07_492Z-debug.log
kali@kali:/XSSTRON$
kali@kali:
/XSSTRON$ sudo npm start

XSSTRON@1.0.0 start /home/kali/XSSTRON
electron .

sh: 1: electron: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! XSSTRON@1.0.0 start: electron .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the XSSTRON@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-02T06_58_21_984Z-debug.log

@plutob0i
Copy link
Author

plutob0i commented Feb 2, 2021

To be precise I'm getting this error, i have the latest nodejs & npm and im getting this error.

kali@kali:~/XSSTRON$ sudo npm install

core-js@3.8.2 postinstall /home/kali/XSSTRON/node_modules/core-js
node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
https://opencollective.com/core-js
https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

electron@11.2.0 postinstall /home/kali/XSSTRON/node_modules/electron
node install.js

Downloading electron-v11.2.0-linux-x64.zip: >[====================================================================================================] 100% ETA: 0.0 seconds
Error: EACCES: permission denied, stat '/root/.cache/electron/httpsgithub.comelectronelectronreleasesdownloadv11.2.0SHASUMS256.txt/SHASUMS256.txt'
npm WARN XSSTRON@1.0.0 No repository field.
npm WARN XSSTRON@1.0.0 license should be a valid SPDX license expression

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@11.2.0 postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@11.2.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-02T07_22_49_563Z-debug.log

kali@kali:~/XSSTRON$ sudo npm start

XSSTRON@1.0.0 start /home/kali/XSSTRON
electron .

sh: 1: electron: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! XSSTRON@1.0.0 start: electron .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the XSSTRON@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-02T07_23_20_527Z-debug.log

@RenwaX23
Copy link
Owner

RenwaX23 commented Feb 2, 2021

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

@RenwaX23 RenwaX23 closed this as completed Feb 2, 2021
@fropert
Copy link

fropert commented Feb 3, 2021

@plutob0i Using npm install --unsafe-perm=true is ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants