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

Hello Hapi, not #6

Closed
mikeumus opened this issue Jan 12, 2014 · 4 comments
Closed

Hello Hapi, not #6

mikeumus opened this issue Jan 12, 2014 · 4 comments

Comments

@mikeumus
Copy link

NodeSchool and makemehapi are cool, but the hinting mechanism needs to evolve if this is expected to be used at home for newbs. I asked about the following in #Hapi but no wanted wanted to deal with me at the time, which is completely fine. Problem with NodeSchool and makemehapi is they're made by leading industry experts, but this can be a bad perspective to create a app for a potential complete noob alone at home. That's just my 2cents, now the issue:

I'm following everything to the tee and tried a handful of variations for the Hello Hapi course but I am pro at getting the following error:

stream.js:94
      throw er; // Unhandled stream error in pipe.

I created a repo for this which contains the source producing the error here:
mikeumus/hellohapi#1

@geek
Copy link
Contributor

geek commented Jan 13, 2014

Sorry for the troubles... it appears that you are listening on the wrong port. Instead of using port 8000 listen on 8080.

@mikeumus
Copy link
Author

Hey @wpreul, Thanks for the tip. I changed the port and am not getting this:

$ makemehapi verify index.js
Verifying "Hello Hapi"...

ACTUAL                             EXPECTED
------                             --------
"{\"statusCode\":500,\"error\":\"Internal Server Error\",\"message\":\"An intern
al server error occurred\"}" != "Hello Hapi"
# FAIL

Your solution to Hello Hapi didn't match the expected output.
Try again!

and for reference, source code is here: https://github.com/mikeumus/hellohapi

@geek
Copy link
Contributor

geek commented Jan 15, 2014

This is a result of the hapi version. The makemehapi app should use hapi version 1.x.x.

@geek geek closed this as completed Jan 15, 2014
@mikeumus
Copy link
Author

Module 1 completed successfully. Thanks for the tips @wpreul. 👍
I've outlined them in the readme of my hellohapi repo.

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

2 participants