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

Error when using along with the graphql-cli #245

Closed
wtrocki opened this issue Nov 7, 2019 · 3 comments
Closed

Error when using along with the graphql-cli #245

wtrocki opened this issue Nov 7, 2019 · 3 comments
Labels

Comments

@wtrocki
Copy link

wtrocki commented Nov 7, 2019

I have tried to investigate problem and it looks like all of my dependencies are hoisted in root, but somehow graphql-config is not

[wtrocki@wtrockigraph generator-example (layered-resolvers ✗)]$ graphql codegen
{ Error: Cannot find module 'globby'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
    at Function.Module._load (internal/modules/cjs/loader.js:508:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at /Users/wtrocki/.nvm/versions/node/v10.15.3/lib/node_modules/graphql-cli/node_modules/graphql-config/index.js:480:105
    at new Promise (<anonymous>)
    at LoadersRegistry.<anonymous> (/Users/wtrocki/.nvm/versions/node/v10.15.3/lib/node_modules/graphql-cli/node_modules/graphql-config/index.js:480:46)
@wtrocki
Copy link
Author

wtrocki commented Nov 7, 2019

Side note. I'm using npm instead of yarn

@ardatan
Copy link
Collaborator

ardatan commented Jan 16, 2020

@wtrocki Does this issue persist?

@ardatan ardatan added the bug label Jan 16, 2020
@wtrocki
Copy link
Author

wtrocki commented Jan 16, 2020

Resolved. Using npm was never good idea

@wtrocki wtrocki closed this as completed Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants