Git Product home page Git Product logo

Comments (5)

Remo avatar Remo commented on July 19, 2024 2

@mnewmedia aber natürli (:

I've got this in my package.json:

"js-marker-clusterer": "[email protected]:googlemaps/js-marker-clusterer.git#gh-pages"

For whatever reason they are managing their code in the github pages branch.

from js-marker-clusterer.

pablomaurer avatar pablomaurer commented on July 19, 2024 1

Yes you can, I also did this somewhere "xml-object": "github:mnewmedia/node-xml-object".

Edit: Mhm, it works with other git repos but with this one i get:

npm ERR! git rev-list -n1 master: fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 master: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 master: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 master: 
npm ERR! git rev-list -n1 master: fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 master: Use '--' to separate paths from revisions, like this:
MacBook-Pro:intertabak pm$ npm install
npm ERR! git rev-list -n1 master: fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 master: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 master: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 master: 
npm ERR! git rev-list -n1 master: fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 master: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 master: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 master: 
npm ERR! git clone --template=/Users/pm/.npm/_git-remotes/_templates --mirror [email protected]:googlemaps/js-marker-clusterer.git /Users/pm/.npm/_git-remotes/git-github-com-googlemaps-js-marker-clusterer-git-08214f75: Cloning into bare repository '/Users/pm/.npm/_git-remotes/git-github-com-googlemaps-js-marker-clusterer-git-08214f75'...
npm ERR! git clone --template=/Users/pm/.npm/_git-remotes/_templates --mirror [email protected]:googlemaps/js-marker-clusterer.git /Users/pm/.npm/_git-remotes/git-github-com-googlemaps-js-marker-clusterer-git-08214f75: Permission denied (publickey).
npm ERR! git clone --template=/Users/pm/.npm/_git-remotes/_templates --mirror [email protected]:googlemaps/js-marker-clusterer.git /Users/pm/.npm/_git-remotes/git-github-com-googlemaps-js-marker-clusterer-git-08214f75: fatal: Could not read from remote repository.
npm ERR! git clone --template=/Users/pm/.npm/_git-remotes/_templates --mirror [email protected]:googlemaps/js-marker-clusterer.git /Users/pm/.npm/_git-remotes/git-github-com-googlemaps-js-marker-clusterer-git-08214f75: 
npm ERR! git clone --template=/Users/pm/.npm/_git-remotes/_templates --mirror [email protected]:googlemaps/js-marker-clusterer.git /Users/pm/.npm/_git-remotes/git-github-com-googlemaps-js-marker-clusterer-git-08214f75: Please make sure you have the correct access rights
npm ERR! git clone --template=/Users/pm/.npm/_git-remotes/_templates --mirror [email protected]:googlemaps/js-marker-clusterer.git /Users/pm/.npm/_git-remotes/git-github-com-googlemaps-js-marker-clusterer-git-08214f75: and the repository exists.
npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v5.12.0
npm ERR! npm  v3.10.8
npm ERR! code 128

from js-marker-clusterer.

Remo avatar Remo commented on July 19, 2024

Does anyone know if there's a manual way to fetch it through NPM, can I specify the git repo directly? I currently patch it with every release and that about to get annoying.

from js-marker-clusterer.

pablomaurer avatar pablomaurer commented on July 19, 2024

@Remo Ah de remo isch jo e schwitzer ;)

from js-marker-clusterer.

pablomaurer avatar pablomaurer commented on July 19, 2024

Ok, got it:

npm install googlemaps/js-marker-clusterer.git#gh-pages --save

inserts in package.json:

"js-marker-clusterer": "github:googlemaps/js-marker-clusterer#gh-pages",

from js-marker-clusterer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.