-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Problems with hello-world / getting started in general #21
Comments
Hi! -> In the hello-world folder, run "npm install rxjs@5.0.0-beta.6" -> After this, try running "meteor run" in the hello-world folder |
After my third try here is the process I used : (all happen in the terminal/console) 1- copie and paste: git clone https://github.com/apollostack/angular2-apollo.git
to stop your app running do : ctrl c info: meteor include node so when you wrote "meteor" you launch in background node |
I tried the above steps by @nebiljabari and got the following errors. The website showed the list, but adding did not work.
|
Same here (of course) I actually try to solve it. I've make a tour in the graphql.js file but found no export GraphQLResult ... to be continued |
Okay, i think i figured out the issue with graphQLResult. I capitalized the G on the import statement so it would import the interface called GraphQLResult (from the typings file, not graphql itself). Then I fixed the implicit any issue by adding |
Well done @bkinsey808 ! Concerning the input it print in the console ;-) |
In my PR, I fixed the addUser compile issue. Here's what I learned. There is a class decorator that dynamically adds a method. https://github.com/apollostack/angular2-apollo/blob/master/src/apolloDecorator.ts#L98 Typescript does not know how to type this, and there is an issue here: microsoft/TypeScript#4881 where it is recommended to do "interface merging" which is what I did to get rid of the compile error. There are no more compile errors with this PR however, the new user that is added still does not show up in the list, even though a response comes back from the server and looks good as far as I can tell. |
@bkinsey808 The mutation is not include in the query - in schema.js:
If you just want to display your in and output : @lypanov I think we can close this one |
Yup, working thanks to @nebiljabari |
Add details about notifyOnNetworkStatusChange and returnPartialData
I'm a angular2 beginner but Apollo looks exceptionally interesting and I'm really hoping to use it together with the excellent work you guys are doing.
Alas.. I just can't seem to get started. Error after error after error! I'm blocked by apollographql/apollo-client#207 in getting the main client working and with angular2-apollo hello-world project I just get more different errors.
(npm WARN @angular/core@2.0.0-rc.1 requires a peer of rxjs@5.0.0-beta.6 but none was installed., followed by sh: meteor: command not found, not sure how that is related to angular2+apollo)
I feel like I'm in a parallel universe in which I forgot how to computer.
Please help! Apollo looks like exactly what my company needs!
The text was updated successfully, but these errors were encountered: