holodex / app

http://holodex.enspiral.com
GNU Affero General Public License v3.0
24 stars 1 forks source link

npm install failing #126

Closed don-smith closed 8 years ago

don-smith commented 8 years ago

I think the problem might be with the serve-browserify dependency in package.json:

"serve-browserify": "github:holodex/serve-browserify#1.1.1",

There is no branch or tag of 1.1.1. We can also remove the github: prefix on that dependency.

Here is my npm install output in case I'm not seeing something else:

npm install
npm WARN deprecated micro-req@1.0.1: Use xhr-request instead
npm ERR! git rev-list -n1 1.1.1: fatal: ambiguous argument '1.1.1': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 1.1.1: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 1.1.1: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 1.1.1:
npm ERR! git rev-list -n1 1.1.1: fatal: ambiguous argument '1.1.1': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 1.1.1: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 1.1.1: 'git <command> [<revision>...] -- [<file>...]'
npm ERR! git rev-list -n1 1.1.1:
The authenticity of host 'github.com (192.30.252.131)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
|/e you sure you want to continue connecting (yes/no)? |
npm ERR! git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673: Cloning into bare repository '/home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673'...
npm ERR! git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673: Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts.
npm ERR! git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673: Permission denied (publickey).
npm ERR! git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673: fatal: Could not read from remote repository.
npm ERR! git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673:
npm ERR! git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673: Please make sure you have the correct access rights
npm ERR! git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673: and the repository exists.
npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/home/don/.nvm/versions/node/v4.1.2/bin/node" "/home/don/.nvm/versions/node/v4.1.2/bin/npm" "install"
npm ERR! node v4.1.2
npm ERR! npm  v2.14.4
npm ERR! code 128

npm ERR! Command failed: git clone --template=/home/don/.npm/_git-remotes/_templates --mirror git@github.com:holodex/serve-browserify.git /home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673
npm ERR! Cloning into bare repository '/home/don/.npm/_git-remotes/git-github-com-holodex-serve-browserify-git-c398b673'...
npm ERR! Warning: Permanently added 'github.com,192.30.252.131' (RSA) to the list of known hosts.
npm ERR! 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!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/don/Repos/holodex/app/npm-debug.log

The github auth error is odd because my SSH keys are working fine for all other github commands.

ahdinosaur commented 8 years ago

ah thanks for the bug report @locksmithdon, published github:holodex/serve-browserify#1.1.1 which should work as a hotfix for now.

we're in the process of re-writing Holodex, so expect all of master to be destroyed and reborn based on enspiral-craftworks/mad-science-stack, currently most work towards this is being done for the front-end by @simontegg in his free time in the compost branch, when i have time i need to "re-flash" the rest of the repo to the new stack to also pave the way for a proper data API.