garrettjoecox / scriptserver

A Minecraft server wrapper, allows for simple plugins in vanilla
GNU General Public License v3.0
68 stars 10 forks source link

Unable to install via npm #29

Closed kellofkindles closed 4 years ago

kellofkindles commented 4 years ago

EDIT: Was able to install in on a windows machine, but not my linux.

Whenever I use the command npm i scriptserver I get this error:

7 error enoent Error while executing:
37 error enoent undefined ls-remote -h -t ssh://git@github.com/garrettjoecox/simple-rcon.git
37 error enoent
37 error enoent
37 error enoent spawn git ENOENT
38 error enoent This is related to npm not being able to find a file.

Edit: It seems to have to do with the lodash.defaultsdeep module.

Full log - 2020-05-02T20_11_07_836Z-debug.log

garrettjoecox commented 4 years ago

@kellofkindles Was this resolved? I was not able to reproduce

garrettjoecox commented 4 years ago

It seems it failed when NPM tried to clone my fork of simple-rcon, git not defined, did you have git installed?

kellofkindles commented 4 years ago

I did try to install git afterwards, however that did not seem to solve the issue. I instead used a different machine (Windows 10, with git) and that worked.