question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm install err - git clone mapbox-gl-test-suite failed

See original GitHub issue

Make sure these boxes are checked before submitting your issue - thank you!

  • [√] I have checked the superset logs for python stacktraces and included it here as text if any
  • [√] I have reproduced the issue with at least the latest released version of superset
  • [√] I have checked the issue tracker for the same issue and I haven’t found one similar

Superset version

0.15.4 master

Expected results

npm install download required dependencies

Actual results

failed to download mapbox-gl-test-suite, cause mapbox-gl-test-suite renamed to mapbox-gl-js npm_install_err

npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/mapbox/mapbox-gl-test-suite.git /root/.npm/_git-remotes/git-github-com-mapbox-mapbox-gl-test-suite-git-ceba0a2e2e8e5860aa2550c53bb6083387d053d3-9786376a
npm ERR! fatal: The remote end hung up unexpectedly
npm ERR! fatal: early EOF
npm ERR! fatal: index-pack failed

Steps to reproduce

cd $SUPERSET_HOME/superset/assets npm install

node -v 6.9.1 npm -v 3.10.8

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
rhunwickscommented, Apr 10, 2017

I am having the same error installing Superset in a Docker container, and I am working around it with the following in the Dockerfile:

RUN git config --global url."https://github.com/".insteadOf git@github.com && \
    git config --global url."https://".insteadOf git:// && \
    npm install && \
    npm run build

See https://github.com/npm/npm/issues/5257#issuecomment-60441477 for the inspiration.

0reactions
xrmxcommented, Feb 2, 2017

😒

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm install err - git clone mapbox-gl-test-suite failed #2087
[√] I have checked the superset logs for python stacktraces and included it here as text if any · [√] I have reproduced...
Read more >
npm install giving error while accessing GIT url - Stack Overflow
I just used the following command and the issue got resolved. git config --global url."https://".insteadOf git://.
Read more >
Can't Read From Remote Git Repository During npm install
You may encounter this error when installing npm. npm ERR! git clone ssh://git@github.com/someuser/somerepo.git Cloning into bare repository ...
Read more >
git-clone - npm
Start using git-clone in your project by running `npm i git-clone`. There are 703 other projects in the npm registry using git-clone.
Read more >
Common errors | npm Docs
You are trying to install on a drive that either has no space, or has no permission to write. Free some disk space...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found