aframevr / aframevr/aframe

Failing to install aframe from npm

Open
#5,145 14 comments 1 reaction 0 assignees View on GitHub

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

2022-11-04T16_26_54_020Z-debug-0.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.