Giter VIP home page Giter VIP logo

react-admin-and-postgraphile-playground's People

Contributors

caston1981 avatar mamadouologuem avatar stephane-klein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-admin-and-postgraphile-playground's Issues

Valid date mesage on contacts test database.

The project builds fine but I noticed the following when loading the RA dashboard at port 3000:

  [email protected] firstname0001 Invalid Date  

I intend to use my own database but I'm not sure if the issue comes from the example database or from something in this extension.

Peer depenceny warnings

I am wondering if these warnings are specific to my environment. I made sure I used the correct version of nodejs for the project.
I am attempt to fix it in my fork. It does build I prefer to fix warnings when possible.

npm install
npm WARN [email protected] requires a peer of immutable@^3.8.1 || ^4.0.0-rc.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of seamless-immutable@^7.1.3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of ra-data-graphql@^2|^3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-admin@^2|^3 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.13.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@^3.2.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>=3.7.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/jest-haste-map/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

Apollo Unhandled Rejection (Error) - possibly related to depreciated apollo-client-preset

I am getting apollo Unhandled Rejection (Error): Network error: NetworkError when attempting to fetch resource. It may be related to the following depreciation warning:
npm WARN depreciated [email protected]: for the best quick start with Apollo Client, please use apollow-boost instead

The following comes up in my browser:

Unhandled Rejection (Error): Network error: NetworkError when attempting to fetch resource.
ApolloError
src/errors/ApolloError.ts:46

  43 | // Constructs an instance of ApolloError given a GraphQLError
  44 | // or a network error. Note that one of these has to be a valid
  45 | // value or the constructed error will be meaningless.
> 46 | constructor({
     | ^  47 |   graphQLErrors,
  48 |   networkError,
  49 |   errorMessage,

./node_modules/apollo-client/bundle.esm.js/QueryManager</QueryManager.prototype.queryListenerForObserver/<
src/core/QueryManager.ts:576

  573 | // If we have either a GraphQL error or a network error, we create
  574 | // an error and tell the observer about it.
  575 | if (errorPolicy === 'none' && hasGraphQLErrors || queryStoreValue.networkError) {
> 576 |   return invoke('error', new ApolloError({
      | ^  577 |     graphQLErrors: queryStoreValue.graphQLErrors,
  578 |     networkError: queryStoreValue.networkError,
  579 |   }));

./node_modules/apollo-client/bundle.esm.js/QueryManager</QueryManager.prototype.broadcastQueries/</<
src/core/QueryManager.ts:1091

  1088 |     // it's possible for the listener to be undefined if the query is being stopped
  1089 |     // See here for more detail: https://github.com/apollostack/apollo-client/issues/231
  1090 |     if (listener) {
> 1091 |       listener(this.queryStore.get(id), info.newData);
       | ^  1092 |     }
  1093 |   });
  1094 | }

./node_modules/apollo-client/bundle.esm.js/QueryManager</QueryManager.prototype.broadcastQueries/<
src/core/QueryManager.ts:1087

  1084 | this.onBroadcast();
  1085 | this.queries.forEach((info, id) => {
  1086 |   if (info.invalidated) {
> 1087 |     info.listeners.forEach(listener => {
       | ^  1088 |       // it's possible for the listener to be undefined if the query is being stopped
  1089 |       // See here for more detail: https://github.com/apollostack/apollo-client/issues/231
  1090 |       if (listener) {

./node_modules/apollo-client/bundle.esm.js/QueryManager</QueryManager.prototype.broadcastQueries
src/core/QueryManager.ts:1085

  1082 | 
  1083 | public broadcastQueries() {
  1084 |   this.onBroadcast();
> 1085 |   this.queries.forEach((info, id) => {
       | ^  1086 |     if (info.invalidated) {
  1087 |       info.listeners.forEach(listener => {
  1088 |         // it's possible for the listener to be undefined if the query is being stopped

./node_modules/apollo-client/bundle.esm.js/QueryManager</QueryManager.prototype.fetchQuery/</</networkResult<
src/core/QueryManager.ts:434

  431 |     this.queryStore.markQueryError(queryId, error, fetchMoreForQueryId);
  432 |     this.invalidate(queryId);
  433 |     this.invalidate(fetchMoreForQueryId);
> 434 |     this.broadcastQueries();
      | ^  435 |   }
  436 |   throw new ApolloError({ networkError: error });
  437 | }

This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.  Click the 'X' or hit ESC to dismiss this message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.