Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples not working #1162

Open
leemm opened this issue Jun 23, 2023 · 0 comments
Open

Examples not working #1162

leemm opened this issue Jun 23, 2023 · 0 comments

Comments

@leemm
Copy link

leemm commented Jun 23, 2023

Examples currently won't start with either npm or yarn. Tried with differing node versions too.

$ /Users/user
/Projects/schema/node_modules/.bin/gulp run-examples
[10:40:13] Using gulpfile ~/Projects/schema/gulpfile.js
[10:40:13] Starting 'run-examples'...
Starting ts-ast-reader on port 4000
warning ../../../package.json: No license field
$ ts-node-dev --no-notify --transpileOnly --respawn ./src
Error: graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.
    at devAssert (/Users/user
/Projects/schema/node_modules/graphql/jsutils/devAssert.js:12:11)
    at Object.execute (/Users/user
/Projects/schema/node_modules/graphql/execution/execute.js:107:30)
    at Object.generateSchemaHash (/Users/user
/Projects/schema/examples/ts-ast-reader/node_modules/apollo-server-core/dist/utils/schemaHash.js:15:32)
    at ApolloServer.generateSchemaDerivedData (/Users/user
/Projects/schema/examples/ts-ast-reader/node_modules/apollo-server-core/dist/ApolloServer.js:269:41)
    at new ApolloServerBase (/Users/user
/Projects/schema/examples/ts-ast-reader/node_modules/apollo-server-core/dist/ApolloServer.js:161:38)
    at new ApolloServer (/Users/user
/Projects/schema/examples/ts-ast-reader/node_modules/apollo-server-express/dist/ApolloServer.js:60:9)
    at new ApolloServer (/Users/user
/Projects/schema/examples/ts-ast-reader/node_modules/apollo-server/dist/index.js:32:9)
    at Object.<anonymous> (/Users/user
/Projects/schema/examples/ts-ast-reader/src/index.ts:5:14)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)
    at Module.m._compile (/private/var/folders/vd/rbf_4svn1hq63tt6zr6qygvw0000gn/T/ts-node-dev-hook-4364928410073272.js:54:25)
[ERROR] 10:40:15 Error: graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant