-
Notifications
You must be signed in to change notification settings - Fork 177
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
Typescript error: cannot find module 'graphql-tag/printer' #4
Comments
I tried doing import { print } from 'graphql-tag/printer'; before I imported from apollo-client, but typescript wouldn't recognize the package |
@swarthout As I mentioned before at |
@kamilkisiela This is what I am getting when I try to install whatwg-fetch typings: ➜ client git:(master) ✗ typings search whatwg
Viewing 1 of 1
NAME SOURCE HOMEPAGE DESCRIPTION VERSIONS UPDATED
whatwg-fetch dt https://github.com/github/fetch 1 2016-05-24T14:20:46.000Z
➜ client git:(master) ✗ typings install whatwg-fetch
typings ERR! message Unable to find "whatwg-fetch" ("npm") in the registry. Did you want to try searching another source?Also, if you want contribute these typings, please help us: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/whatwg-fetch/versions/latest responded with 404, expected it to equal 200
typings ERR! cwd /Users/scott/Documents/showcase/client
typings ERR! system Darwin 15.2.0
typings ERR! command "/Users/scott/.nvm/versions/node/v6.0.0/bin/node" "/usr/local/bin/typings" "install" "whatwg-fetch"
typings ERR! node -v v6.0.0
typings ERR! typings -v 0.8.1
typings ERR! If you need help, you may report this error at:
typings ERR! <https://github.com/typings/typings/issues> |
@swarthout You can use |
I am building an angular2 app and I am getting the following errors when I build:
Does anyone have any suggestions? Should I just downgrade graphql-tag until typescript support is better?
The text was updated successfully, but these errors were encountered: