picosam
03/15/2018, 4:47 PMgraphql-yoga 1.5.2
I still get the same error…. now I’m unable to trace what caused this 😞lawjolla
03/15/2018, 4:50 PMvisitQuery
field or is isAuthenticated
calling a fragment?picosam
03/15/2018, 4:51 PMlawjolla
03/15/2018, 4:52 PMvisitQuery
from?picosam
03/15/2018, 4:53 PMSchemaDirectiveVisitor
produces very little results.lawjolla
03/15/2018, 4:58 PMlawjolla
03/15/2018, 4:59 PMpicosam
03/15/2018, 5:00 PMlawjolla
03/15/2018, 5:00 PMpicosam
03/15/2018, 5:00 PMdirectiveResolvers
from new GraphQLServer
makes it workpicosam
03/15/2018, 5:01 PMpicosam
03/15/2018, 5:01 PMSchemaDirectiveVisitor
might be… I’m actually using your version of directiveResolvers
lawjolla
03/15/2018, 5:03 PMpicosam
03/15/2018, 5:32 PMyarn debug
session and clicking on Debug, I get this:
/usr/local/bin/node --inspect-brk=51945 /Users/Sammy/Projects/mblt-gql/src/index.ts
Debugger listening on <ws://127.0.0.1:51945/391c8961-cdce-4b4d-8454-281f3233eea7>
For help see <https://nodejs.org/en/docs/inspector>
Debugger attached.
/Users/Sammy/Projects/mblt-gql/src/index.ts:1
(function (exports, require, module, __filename, __dirname) { import { GraphQLServer } from 'graphql-yoga';
^^^^^^
SyntaxError: Unexpected token import
at new Script (vm.js:51:7)
at createScript (vm.js:136:10)
at Object.runInThisContext (vm.js:197:10)
at Module._compile (module.js:613:28)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Function.Module.runMain (module.js:690:10)
at startup (bootstrap_node.js:194:16)
Waiting for the debugger to disconnect...
Process finished with exit code 1
which I believe is not right somehow!