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

"process is not defined" in upgrade from 2.3.0 to 2.4.0 #106

Closed
crumhorn opened this issue Jun 22, 2017 · 4 comments
Closed

"process is not defined" in upgrade from 2.3.0 to 2.4.0 #106

crumhorn opened this issue Jun 22, 2017 · 4 comments

Comments

@crumhorn
Copy link

From 2.3.0 to 2.4.0 there seems to be breaking changes somehow in conjunction with the latest GraphQL versions. The following dependencies works fine (in an Angular2 environment, also latest versions):

"graphql": "0.10.3",
"graphql-anywhere": "3.1.0",
"graphql-relay": "0.5.2",
"graphql-tag": "2.3.0",
"graphql-tools": "1.0.0",

but with version 2.4.0 of graphql-tag, the following stacktrace is produced:

zone.js:391 Error: process is not defined
Evaluating http://localhost:3000/node_modules/graphql/utilities/assertValidName.js
Evaluating http://localhost:3000/node_modules/graphql/type/definition.js
Evaluating http://localhost:3000/node_modules/graphql/utilities/valueFromAST.js
Evaluating http://localhost:3000/node_modules/graphql/utilities/buildASTSchema.js
Evaluating http://localhost:3000/node_modules/graphql-tag/src/index.js
Evaluating http://localhost:3000/app/core/services/HttpService.js
...

Are there some breaking changes that I missed somewhere?

@jnwng
Copy link
Contributor

jnwng commented Jun 22, 2017

Likely an issue with the descriptors: https://github.com/apollographql/graphql-tag/pull/99/files

Will investigate and confirm.

@jnwng
Copy link
Contributor

jnwng commented Jun 22, 2017

Use 2.3 for now.

@crumhorn
Copy link
Author

Just updated to 2.4.2 and I don't see this issue any more 👍

@jnwng
Copy link
Contributor

jnwng commented Jun 27, 2017

closing in favor of #107

@jnwng jnwng closed this as completed Jun 27, 2017
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

2 participants