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

PhantomJS causes installation to fail #164

Closed
shakty opened this issue Mar 24, 2021 · 1 comment
Closed

PhantomJS causes installation to fail #164

shakty opened this issue Mar 24, 2021 · 1 comment
Labels
bug nodegame Installer and other scripts in the nodegame repo wontfix

Comments

@shakty
Copy link
Member

shakty commented Mar 24, 2021

The phantomjs package has been discontinued and it starts now to create problems on some installs.

If your installation fails and logs show an error like:

npm ERR! Phantom installation failed

you may try an alternative install.

  1. Manually clone the nodegame repo 

    git clone https://github.com/nodeGame/nodegame.git
    
  2. Open the file package.json and  replace this line 

    "nodegame-server": "^6.0.0",
    

    with:

    "nodegame-server": "git://github.com/nodegame/nodegame-server.git#nophantom",
    
  3. Type:

    npm install
    
  4. Notice that the games folder will be empty. If you want the ultimatum game back you can simply clone it in there:

    cd games/
    git clone https://github.com/nodeGame/ultimatum-game.git
    
@shakty shakty added bug nodegame Installer and other scripts in the nodegame repo labels Mar 24, 2021
@shakty shakty added the wontfix label Oct 21, 2021
@shakty
Copy link
Member Author

shakty commented Oct 21, 2021

removed phantomjs support in v7

@shakty shakty closed this as completed Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug nodegame Installer and other scripts in the nodegame repo wontfix
Projects
None yet
Development

No branches or pull requests

1 participant