Advertisement
tremon36

error

Mar 14th, 2021
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. sudo npm start
  2.  
  3. > @ start /home/tremon/AhMyth-Android-RAT/AhMyth-Server
  4. > npx electron ./app
  5.  
  6. internal/modules/cjs/loader.js:818
  7. throw err;
  8. ^
  9.  
  10. Error: Cannot find module '/root/.npm/_npx/36218/lib/node_modules/electron/install.js'
  11. at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
  12. at Function.Module._load (internal/modules/cjs/loader.js:667:27)
  13. at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
  14. at internal/main/run_main_module.js:17:47 {
  15. code: 'MODULE_NOT_FOUND',
  16. requireStack: []
  17. }
  18. npm ERR! code ELIFECYCLE
  19. npm ERR! errno 1
  20. npm ERR! electron@12.0.1 postinstall: `node install.js`
  21. npm ERR! Exit status 1
  22. npm ERR!
  23. npm ERR! Failed at the electron@12.0.1 postinstall script.
  24. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  25.  
  26. npm ERR! A complete log of this run can be found in:
  27. npm ERR! /root/.npm/_logs/2021-03-14T18_39_29_211Z-debug.log
  28. Install for [ 'electron@latest' ] failed with code 1
  29. npm ERR! code ELIFECYCLE
  30. npm ERR! errno 1
  31. npm ERR! @ start: `npx electron ./app`
  32. npm ERR! Exit status 1
  33. npm ERR!
  34. npm ERR! Failed at the @ start script.
  35. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  36. npm WARN Local package.json exists, but node_modules missing, did you mean to install?
  37.  
  38. npm ERR! A complete log of this run can be found in:
  39. npm ERR! /root/.npm/_logs/2021-03-14T18_39_29_570Z-debug.log
  40.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement