I'm probably making a rookie mistake somewhere, but why is the console telling me to provide a typeDefs? When I am providing one by using export default in javascript from the file below. I tried re-installing the package and such, but I get the same error still.
schema.js :
export default `
type Query {
hi: String
}
`;
Then a screenshot of my app.js and the error:
I also tried this way of defining and exporting, and still get "Must provide typeDefs", and this was in the tutorial, schema.js:
const typeDefs = `
type Query {
hi: String
}
`;
export default typeDefs;