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

UNMET PEER DEPENDENCY [email protected] (graphql create error) #309

Open
sshillyer opened this issue Jul 20, 2018 · 0 comments
Open

UNMET PEER DEPENDENCY [email protected] (graphql create error) #309

sshillyer opened this issue Jul 20, 2018 · 0 comments

Comments

@sshillyer
Copy link

sshillyer commented Jul 20, 2018

I have installed graphql-cli globally. I then run command:
graphql create foo
I select typescript-advanced OR typescript-basic and get the below error. I tried install prisma globally (npm install -g prisma) and this does not help.


`-- UNMET PEER DEPENDENCY [email protected]

npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
[graphql create] Running boilerplate install script...
×
Unexpected token (

The project folder is populated with at least some of the files.

Possibly unrelated, but the project in this state generates the following error (for advanced) immediately after starting with yarn dev:

Type "Node" is missing a "resolveType" resolver. Pass false into "resolverValidationOptions.requireResolversForResolveType" to disable this warning.
Server is running on http://localhost:4000

And it looks like this for the basic project:

Type "Node" is missing a "resolveType" resolver. Pass false into "resolverValidationOptions.requireResolversForResolveType" to disable this warning.
Server is running on http://localhost:4000
(node:13432) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: url_1.URL is not a constructor
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