Closed trenttobler closed 1 year ago
@trenttobler Thanks for submitting a ticket! Good to see you found a workaround but it is definitely annoying and the dev containers should work out of the box (I use the codespaces one personally for small stuff all the time).
I made a branch here and tested in codespaces and locally via docker desktop. It seemed to be working properly with the new node 16 and github specific flow for adding a npm package. https://docs.npmjs.com/cli/v8/configuring-npm/package-json#github-urls https://github.com/ryanluker/vscode-coverage-gutters/pull/384
Opps nope, it still resolves to using git + ssh if you look at the npm list afterwords.
It is odd that it still worked though locally for me 🤔.
cobertura-parse@1.0.6 (git+ssh://git@github.com/fschwaiger/cobertura-parse.git#82b0333cb1580f6f337b5d44b04e2f5ca8711b7e)
@trenttobler this was merged into the master branch and should be good for you to use now.
Describe the bug
fschwaiger/cobertura-parse npm package link uses git/ssh. It looks like this causes issues in negotiating the ssh key when installing npm packages from within the container. I suspect there may be a way to configure this, but wondering if migrating to use https resolution instead works.
Steps To Reproduce
rm -rf node_modules
npm i
npm ERR! A complete log of this run can be found in: npm ERR! /home/node/.npm/_logs/2022-11-05T20_04_42_604Z-debug.log