You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To resolve it
• you need to uncomment following 3 lines with PostgreSQL .pem files.
• get these files from your Cloud SQL dashboard.
• place them to the ssl folder.
Often times it's convenient to use a remote SQL database during local development, this way you and your team members can start working on the project right away without any setup steps (other than installing NPM modules via yarn install). For this to work, you would need to download SSL certificates:
Put them into ssl folder of your project:
And uncomment the following lines in the .env file:
$ node -v
v8.11.1
$ yarn -v
1.12.3
$ yarn setup
yarn run v1.12.3
$ node ./scripts/setup
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0".
warning "firebase-admin > @firebase/[email protected]" has unmet peer dependency "@firebase/[email protected]".
warning "firebase-admin > @firebase/database > @firebase/[email protected]" has unmet peer dependency "@firebase/[email protected]".
warning " > [email protected]" has incorrect peer dependency "graphql@^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0".
warning " > [email protected]" has incorrect peer dependency "graphql@^0.13.0".
warning " > [email protected]" has unmet peer dependency "eslint@>=3.14.1".
warning " > [email protected]" has unmet peer dependency "eslint@>=2.0.0".
warning "react-app-tools > babel-plugin-transform-dynamic-import > @babel/[email protected]" has incorrect peer dependency "@babel/[email protected]".
warning " > [email protected]" has incorrect peer dependency "graphql@^0.13.0".
warning "relay-compiler > [email protected]" has incorrect peer dependency "graphql@^0.13.0".
[5/5] 📃 Building fresh packages...
TypeError: path must be a string or Buffer
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at Object. (/Users/dank/dev/react-firebase-starter/knexfile.js:26:12)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at /Users/dank/dev/react-firebase-starter/scripts/setup.js:18:18
at Object. (/Users/dank/dev/react-firebase-starter/scripts/setup.js:56:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: