I forked and module on Github, changed it for my needs and pushed back to git. Now I am trying to install this module with npm with
npm install git+http://github.com/username/modulename.git
But I get the following error:
npm ERR! Command failed: git submodule update -q --init --recursive
npm ERR! fatal: O:/Programs/Git/mingw64/libexec/git-core\git-submodule cannot be used without a working tree.
What can cause it and how to fix it?