[FIXED] Unable to get the new Apollo skeleton to work

Hi, with the new Meteor 1.11 introducing an Apollo skeleton, i wanted to try it to see some code.
However, when creating the default project, i get nothing in the browser.
In the console, i get the following error :

I’m on Ubuntu 18.04 with Meteor release 1.11.

Anybody got it to work successfully ?

Fix will be in the next version, in the meantime you can copy it here:

Not sure why I didn’t get the error when I was testing it.

1 Like

Thank you storyteller

In /imports/ui/app.jsx:

just replace this:
import { ApolloProvider, ApolloClient } from ‘@apollo/client’;
with these 2 lines:
import { ApolloProvider } from ‘@apollo/client’;
import ApolloClient from ‘apollo-boost’;