VulcanJS / Vulcan

🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
http://vulcanjs.org
MIT License
7.98k stars 1.89k forks source link

Couldn't install telescope via package json with github remote as dependency #639

Closed aj07mm closed 9 years ago

aj07mm commented 9 years ago

This is my package.json:

{
  "name": "selfie",
  "version": "1.0.0",
  "description": "app to vote on selfies",
  "main": "index.js",
  "scripts": {
    "test": "mocha "
  },
  "dependencies": {
    "meteor": "^0.5.2-1",
    "telescope": "TelescopeJS/Telescope"
  },
  "repository": {
    "type": "git",
    "url": "https://aj07mm@bitbucket.org/aj07mm/selfie.git"
  },
  "keywords": [
    "selfie",
    "vote",
    "dashboard"
  ],
  "author": "aj07mm, tapicer",
  "license": "ISC"
}

I got the following errors:

1315 verbose stack Error: ENOENT, open '/var/folders/jx/3yjpx73145n52ch8mw63y7d80000gn/T/npm-50171-4edd3718/unpack-c51f89fe0d77/package.json'
1316 verbose cwd /Users/aj07mm/Desktop/selfie
1317 error Darwin 13.4.0
1318 error argv "node" "/usr/local/bin/npm" "install"
1319 error node v0.10.32
1320 error npm  v2.1.4
1321 error path /var/folders/jx/3yjpx73145n52ch8mw63y7d80000gn/T/npm-50171-4edd3718/unpack-c51f89fe0d77/package.json
1322 error code ENOENT
1323 error errno 34
1324 error ENOENT, open '/var/folders/jx/3yjpx73145n52ch8mw63y7d80000gn/T/npm-50171-4edd3718/unpack-c51f89fe0d77/package.json'
1325 error If you need help, you may report this error at:
1325 error     <http://github.com/npm/npm/issues>
1326 verbose exit [ 34, true ]

The same thing happens if i add instead of the "profile/repo" the link of the repo on github:

"telescope": "https://github.com/TelescopeJS/Telescope/tarball/master"

I think the problem is that i don't have Darwin, but i dunno if this is a problem because i don't have the dependency of a dependency. In that case Darwin to build Telescope.

Is that some problem of the current version because the packge.json is empty? I any case i didn't find any mention to the current dependecies of Telescope.

SachaG commented 9 years ago

What's package.json, and what's Darwin?

aj07mm commented 9 years ago

Nevermind, this was a bug of mac trying to "npm install" not a telescope thing. Darwin is the mac osx core