graphql-boilerplates / typescript-graphql-server

Boilerplate code for scalable, production-ready GraphQL servers written in TypeScript
740 stars 111 forks source link

Boilerplate quickstart fail - graphql-0.12.6.tgz: Request failed "404 Not Found" #268

Open brycereynolds opened 6 years ago

brycereynolds commented 6 years ago

Just following the basic quickstart. Attached is my yarn-error.log.

Arguments:
  /Users/bryce/.nvm/versions/node/v8.6.0/bin/node /Users/bryce/.yarn/bin/yarn.js install

PATH:
  /Users/bryce/.yarn/bin:/Users/bryce/.config/yarn/global/node_modules/.bin:/Users/bryce/.nvm/versions/node/v8.6.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

Yarn version:
  1.6.0

Node version:
  8.6.0

Platform:
  darwin x64

Trace:
  Error: https://registry.yarnpkg.com/@types/graphql/-/graphql-0.12.6.tgz: Request failed "404 Not Found"
      at ResponseError.ExtendableBuiltin (/Users/bryce/.yarn/lib/cli.js:212:66)
      at new ResponseError (/Users/bryce/.yarn/lib/cli.js:318:124)
      at Request.<anonymous> (/Users/bryce/.yarn/lib/cli.js:61933:26)
      at emitOne (events.js:115:13)
      at Request.emit (events.js:210:7)
      at Request.module.exports.Request.onRequestResponse (/Users/bryce/.yarn/lib/cli.js:134041:10)
      at emitOne (events.js:115:13)
      at ClientRequest.emit (events.js:210:7)
      at HTTPParser.parserOnIncomingClient (_http_client.js:565:21)
      at HTTPParser.parserOnHeadersComplete (_http_common.js:116:23)

npm manifest:
  {
    "name": "graphql-boilerplate",
    "scripts": {
      "start": "dotenv -- nodemon -e ts,graphql -x ts-node src/index.ts",
      "dev": "npm-run-all --parallel start playground",
      "debug": "dotenv -- nodemon -e ts,graphql -x ts-node --inspect src/index.ts",
      "playground": "graphql playground",
      "build": "rimraf dist && tsc"
    },
    "dependencies": {
      "bcryptjs": "2.4.3",
      "graphql-yoga": "1.14.6",
      "jsonwebtoken": "8.2.2",
      "prisma-binding": "2.0.2"
    },
    "devDependencies": {
      "@types/bcryptjs": "2.4.1",
      "dotenv-cli": "1.4.0",
      "graphql-cli": "2.16.0",
      "nodemon": "1.17.5",
      "npm-run-all": "4.1.3",
      "prisma": "1.8.3",
      "rimraf": "2.6.2",
      "ts-node": "6.0.5",
      "typescript": "2.8.4"
    }
  }

yarn manifest:
  No manifest

Lockfile:
  # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
  # yarn lockfile v1

....
nathanforce commented 6 years ago

Was having the same issue and it seems to be resolved now.