Giter Club home page Giter Club logo

Comments (7)

JVenberg avatar JVenberg commented on August 18, 2024

What is your current issue so I can try to fix it?

from pokemongo-bot-desktop.

ViBE-HU avatar ViBE-HU commented on August 18, 2024

@JVenberg You mean it's already available?

from pokemongo-bot-desktop.

g2384 avatar g2384 commented on August 18, 2024

@ViBE-HU I just installed it on Ubuntu 16.04 without any issue. It can run properly.

from pokemongo-bot-desktop.

ViBE-HU avatar ViBE-HU commented on August 18, 2024

Hm, first when I red the instructions I thought brew is an OSX only tools so I did not try to install it. Btw there is no clear information about installation and workarounds. I thought Linux is not supported. Now I tried to install and I get some red text while install. But it finished and here is the output when try to run it:

> electron main.js

sh: 1: electron: not found

npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: `electron main.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] start script 'electron main.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the PokemonGoBot package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron main.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs PokemonGoBot
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls PokemonGoBot
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/userPokemonGo-Bot-Desktop/npm-debug.log

and here is the log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]~prestart: [email protected]
6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
7 info lifecycle [email protected]~start: [email protected]
8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~start: PATH: /usr/share/npm/bin/node-gyp-bin:/home/user/PokemonGo-Bot-Desktop/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin
10 verbose lifecycle [email protected]~start: CWD: /home/user/PokemonGo-Bot-Desktop
11 silly lifecycle [email protected]~start: Args: [ '-c', 'electron main.js' ]
12 info lifecycle [email protected]~start: Failed to exec start script
13 verbose stack Error: [email protected] start: `electron main.js`
13 verbose stack spawn ENOENT
13 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:17:16)
13 verbose stack     at emitTwo (events.js:87:13)
13 verbose stack     at ChildProcess.emit (events.js:172:7)
13 verbose stack     at maybeClose (internal/child_process.js:821:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/user/PokemonGo-Bot-Desktop
16 error Linux 4.4.0-31-generic
17 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
18 error node v4.2.6
19 error npm  v3.5.2
20 error file sh
21 error code ELIFECYCLE
22 error errno ENOENT
23 error syscall spawn
24 error [email protected] start: `electron main.js`
24 error spawn ENOENT
25 error Failed at the [email protected] start script 'electron main.js'.
25 error Make sure you have the latest version of node.js and npm installed.
25 error If you do, this is most likely a problem with the PokemonGoBot package,
25 error not with npm itself.
25 error Tell the author that this fails on your system:
25 error     electron main.js
25 error You can get information on how to open an issue for this project with:
25 error     npm bugs PokemonGoBot
25 error Or if that isn't available, you can get their info via:
25 error     npm owner ls PokemonGoBot
25 error There is likely additional logging output above.
26 verbose exit [ 1, true ]

from pokemongo-bot-desktop.

g2384 avatar g2384 commented on August 18, 2024

It seems you need to install this module first https://github.com/electron/electron

from pokemongo-bot-desktop.

ViBE-HU avatar ViBE-HU commented on August 18, 2024

Now I get this:

sudo npm install electron-prebuilt -g
loadDep:wrappy → network  ▀ ╢██████████████████████████████░░░░░░░░░░░░░░░░░░░░░/usr/local/bin/electron -> /usr/local/lib/node_modules/electron-prebuilt/cli.js

> [email protected] postinstall /usr/local/lib/node_modules/electron-prebuilt
> node install.js

sh: 1: node: not found
npm ERR! Linux 4.4.0-31-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "electron-prebuilt" "-g"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn

npm ERR! [email protected] postinstall: `node install.js`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the electron-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs electron-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls electron-prebuilt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/user/PokemonGo-Bot-Desktop/npm-debug.log

from pokemongo-bot-desktop.

g2384 avatar g2384 commented on August 18, 2024

Ok, did you successfully do brew install python node? The nodejs is missing.

Try

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs

(It may cause further issues, I should really save my terminal commands. I don't remember which tutorial I was using. Try to google linux install nodejs v6.)

from pokemongo-bot-desktop.

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.