Trying to setup my first build environment, and running into an issue.
As part of my steps I am installing a global npm package that is required for deployment
- run: name: install stencil-cli command: "sudo npm install -g @bigcommerce/stencil-cli"
One of the package own dependencies is cloned from a public git repo, and results in an error
npm ERR! code 128 npm ERR! Command failed: git clone --mirror -q git://github.com/bigcommerce/browser-sync.git /root/.npm/_cacache/tmp/git-clone-7d7263ab/.git npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-7d7263ab/.git'
I’ve looked a bit around and the most information I find is related private repos in package.json files.
I’ve read that if you change git:// to https:// in the package.json file it should fix the issue.
But the problem is really that this is not my own package and I have no control over it. Unless I fork it.
Is there something I’m missing, or do I have to contact the package maintainer.