react-relay
react-relay copied to clipboard
Project is not up-to-date
Hello, I followed these steps:
- git clone https://github.com/howtographql/react-relay/
- cd react-relay
- npm install -g graphcool
- cd server
- graphcool deploy
- Copy the service ID (which you find in the generated .graphcoolrc file inside the server directory or by running graphcool info) into ./src/Environment.js replacing the current placeholder SERVICE_ID.
- In the package added the script: 'relay': 'relay-compiler --src ./src --schema ./schema.graphql'
- yarn
- yarn run relay
- yarn start
Then in the web browser:
- I click on 'Login'
- Then 'Need to create an account?'
- Fill the forms
- Click 'Create Account' and I get the error:
"{"logs":[{"2018-08-24T16:10:51.125Z":"Error: Cannot find module 'graphcool-lib'\n at Function.Module._resolveFilename (module.js:469:15)\n at Function.Module._load (module.js:417:25)\n at Module.require (module.js:497:17)\n at require (internal/module.js:20:19)\n at Object.
(/var/task/src/email-password/signup.js:39:23)\n at Module._compile (module.js:570:32)\n at Object.Module._extensions..js (module.js:579:10)\n at Module.load (module.js:487:32)\n at tryModuleLoad (module.js:446:12)\n at Function.Module._load (module.js:438:3)\nRequestId: 45289aa2-a7b8-11e8-ac1e-a3b27b271f5c Process exited before completing request"}], "response": {"errorMessage":"RequestId: 45289aa2-a7b8-11e8-ac1e-a3b27b271f5c Process exited before completing request"}}"