Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Error: Cannot find module 'relay-compiler-language-typescript' on 15.0 #540

Open
akinncar opened this issue Dec 13, 2021 · 0 comments
Open

Comments

@akinncar
Copy link

Error: Cannot find module 'relay-compiler-language-typescript'
Require stack:
- /Users/akinncar/Fontes/amora/node_modules/relay-compiler/bin/relay-compiler
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)

I had this error when try to use relay-compiler with this config:

module.exports = {
  src: './src',
  schema: '../server/schema/schema.graphql',
  language: 'typescript',
};

my relay versions:

"react-relay": "^12.0.0",
"relay-compiler-language-typescript": "^15.0.0"

downgrade relay-compiler-language-typescript 14.3 solves the problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant