Using git bash (Windows), running the relay-compiler script configured in package.json scripts shows the error:
$ npm run relay-compiler
> package-name@1.2.3 relay-compiler
> relay-compiler
'relay-compiler' is not recognized as an internal or external command,
operable program or batch file.
Things I've tried:
Restarting terminal
Used a different terminal
Running npm install again
Running other scripts (eg npm run dev runs successfully)
Running validate from another script "relay-validate": "relay-compiler --validate", also shows this error
Using git bash (Windows), running the
relay-compiler
script configured inpackage.json
scripts shows the error:Things I've tried:
npm install
againnpm run dev
runs successfully)"relay-validate": "relay-compiler --validate",
also shows this errorrelay.config.json:
Installed packages in dependencies:
Installed packages in devDependencies:
I presume the cause is some configuration or environment, but I've never encountered this issue before so maybe it's a bug.