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

Now CLI #649

Closed
MANTENN opened this issue Aug 23, 2019 · 5 comments
Closed

Now CLI #649

MANTENN opened this issue Aug 23, 2019 · 5 comments
Labels
bug Something isn't working waiting for release

Comments

@MANTENN
Copy link

MANTENN commented Aug 23, 2019

When I import @graphql-modules/core I get this error:
I am using now CLI v. 16.1.2, macOS 10.14.4 (18E226)

Cannot find module '@nodelib/fs.stat'
Did you forget to add it to "dependencies" in `package.json`?
@MANTENN
Copy link
Author

MANTENN commented Aug 23, 2019

I am moved on with @apollo/federation, it's basically trying to achieve modularity with microservices.

@MANTENN MANTENN closed this as completed Aug 23, 2019
@ecwyne
Copy link

ecwyne commented Aug 31, 2019

@Urigo this happened to me as well in production on Zeit Now. Downgrading to @graphql-modules/core@0.7.7 fixed this for me. Does new GraphqlModule({}) now try to access the filesystem automatically?

@ecwyne
Copy link

ecwyne commented Aug 31, 2019

Just tested 0.7.9 which worked. Looks like it's something that changed in 0.7.10

@agustif
Copy link

agustif commented Sep 1, 2019

I am moved on with @apollo/federation, it's basically trying to achieve modularity with microservices.

You should probably use both, just for different use cases.

graphql-modules is better to modularize your backend, federation is great for external services/API

@ardatan ardatan reopened this Sep 3, 2019
@ardatan ardatan added bug Something isn't working core waiting for release labels Sep 3, 2019
@ardatan
Copy link
Collaborator

ardatan commented Sep 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for release
Projects
None yet
Development

No branches or pull requests

4 participants