Install package.json dependency from git, not npm

Unfortunately I’m having the same issue as described by rajsite above on Feb 4.

I have forked an npm package called “rheostat” onto my personal Github account. It’s located here: https://github.com/MattSidor/rheostat

I added it to my package.json file like this:

"dependencies": {
  ...
  "rheostat": "git+https://git@github.com/MattSidor/rheostat.git",
  ...
},

It appeared to install correctly, but when I try to import the package, I get this error: Module not found: Error: Can't resolve 'rheostat' in '/app/src'.

Here is my full Glitch project: https://glitch.com/edit/#!/rheostat-focus-outline-demo