I'm getting this error after trying to upgrade my ...
# orm-help
e
I'm getting this error after trying to upgrade my project to Prisma 1.7.4 (also updated graphql-cli to 2.15.13) and running `yarn dev`:
prisma.yml should NOT have additional properties. additionalProperty: endpoint
. I can see in the docs that this
endpoint
property is required, so I don't understand what's going on!
n
can you share a reproduction on Github? cc @peter
e
BTW, it seems to work if I run
yarn start
but not with
yarn playground
.
n
can you show your
package.json
?
e
Copy code
{
  "name": "server",
  "scripts": {
    "start": "nodemon -e js,graphql -x node -r dotenv/config src/index.js",
    "debug": "nodemon -e js,graphql -x node --inspect -r dotenv/config src/index.js",
    "playground": "graphql playground",
    "dev": "npm-run-all --parallel start playground"
  },
  "dependencies": {
    "aws-sdk": "^2.199.0",
    "bcryptjs": "^2.4.3",
    "graphql-yoga": "^1.13.1",
    "jsonwebtoken": "^8.1.1",
    "mime-types": "^2.1.18",
    "multiparty": "^4.1.3",
    "prisma-binding": "^1.5.18",
    "uuid": "^3.2.1"
  },
  "devDependencies": {
    "dotenv": "4.0.0",
    "graphql-cli": "2.12.4",
    "nodemon": "1.14.11",
    "npm-run-all": "4.1.2",
    "prisma-cli": "1.0.0"
  }
}
Seems to be something related with playground.
n
uhm
these are problematic:
"graphql-cli": "2.12.4",
"prisma-cli": "1.0.0"
either use
"graphql-cli": "2.15.13",
"prisma": "1.7.4"
if you need the dev dependencies, or remove them if you don't need them.
👍 1
e
Nice catch! I've removed this dev dependencies and now works as expected 🙂
👍 1
n
great