trailsjs / trailpack-hapi

:package: Hapi.js Trailpack
MIT License
19 stars 9 forks source link

Serve public directory #37

Closed thejones closed 8 years ago

thejones commented 8 years ago

I was taking a pass at serving a directory from within Hapi and resolve view engine issues. If I npm link this into a newly generated yeoman project it seems to work; however, in trying to write out some tests I get the following error message:

Debug: internal, implementation, error
    TypeError: Uncaught error: Cannot read property 'find' of undefined
    at FootprintService.find

Possibly related to https://github.com/trailsjs/trailpack-hapi/issues/30 @tjwebb if you have any ideas, suggestions, or changes please let me know.

tjwebb commented 8 years ago

@thejones thanks for taking a swipe at this

however, in trying to write out some tests I get the following error message:

Yes, this used to be related to the ids that were generated for the route objects, but I had fixed this. I'll take a look, thanks for the PR!

weyj4 commented 8 years ago

I think we've solved this problem in a different PR at this point. @tjwebb can we close?