prisma-labs / graphql-framework-experiment

Code-First Type-Safe GraphQL Framework
https://nexusjs.org
MIT License
672 stars 66 forks source link

Build error using pnpm #1421

Closed JustinVoitel closed 4 years ago

JustinVoitel commented 4 years ago

Nexus Report

{
  "node": "v14.4.0",
  "os": {
    "platform": "linux",
    "release": "4.19.104-microsoft-standard"
  },
  "nexus": "^0.26.1",
  "plugins": [],
  "otherDependencies": {
    "@prisma/client": "2.3.0"
  },
  "devDependencies": {
    "@prisma/cli": "2.3.0",
    "prettier": "2.0.5"
  },
  "hasAppModule": true,
  "packageManager": "npm",
  "errorsWhileGatheringReport": {
    "gettingLayout": null,
    "gettingPluginManifests": null
  }
}

Screenshots

grafik

Description

Seems like Nexus build cannot handle the linking system that pnpm uses inside the node_modules folder. Nexus dev command works without a problem. It would be great if Nexus would handle pnpm out of the box

Repro

  1. npx nexus create -> npm -> use database(yes) -> SQLite
  2. delete node_modules
  3. in project root: pnpm install