Skip to content

DSM 7: Install git

oznu edited this page Apr 4, 2022 · 1 revision

Some plugins may require git to succesfully install. You can install git via the SynoCommunity repos.

You likely need to install git if the see the following error:

npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -2
npm ERR! enoent An unknown git error occurred
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

Step 1: Add SynoCommunity Repo

See https://synocommunity.com/#easy-install

Step 2: Install git package

Search the DSM Package Centre for git and install the package.

https://synocommunity.com/package/git