Failing to install aframe from npm
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
- A-Frame Version: 1.3.0
- Platform / Device: Windows
- Reproducible Code Snippet or URL: "npm install aframe"
C:\Users\ASUS\Documents\GitHub\Test\test-physics-2>npm install aframe
npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/ngokevin/debug.git
npm ERR! git@github.com: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ASUS\AppData\Local\npm-cache\_logs\2022-11-04T16_09_03_570Z-debug-0.log
I found these issues, which seem similar:
#4329
#5057
Tried adding this to my .gitconfig as per #5057
[url "https://"]
insteadOf = git://
But this hasn't helped. I get the same error.
I'll upload verbose output from the command (with that change to .gitconfig applied)
npm info using npm@8.17.0
npm info using node@v16.17.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing npm install aframe with Node.js 16.17.0 and npm 8.17.0 on Windows, then inspect the linked verbose npm log and the reported SSH dependency failure. Done means the A-Frame package installs without requiring GitHub SSH public-key access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100