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

Example won't launch: `Server.views is not a function` #97

Closed
citelao opened this issue Jan 23, 2017 · 2 comments
Closed

Example won't launch: `Server.views is not a function` #97

citelao opened this issue Jan 23, 2017 · 2 comments
Assignees
Labels
Milestone

Comments

@citelao
Copy link

@citelao citelao commented Jan 23, 2017

Even with dependencies installed properly, I could not launch server.js in examples/ until I added the code in the Vision README:

server.register(require('vision'), (err) => {
    if (err) {
        console.log("Failed to load vision.");
    }
});

That fixed it.

@ryanwilliamquinn

This comment has been minimized.

Copy link

@ryanwilliamquinn ryanwilliamquinn commented Mar 11, 2017

You should put a PR in for this, I had the same problem.

@geek

This comment has been minimized.

Copy link
Member

@geek geek commented Nov 29, 2017

Fixed by #106

@geek geek closed this Nov 29, 2017
@Marsup Marsup added documentation and removed example labels Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.