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

Quick Start is Broken #155

Open
briansimoni opened this issue Apr 11, 2019 · 1 comment
Open

Quick Start is Broken #155

briansimoni opened this issue Apr 11, 2019 · 1 comment

Comments

@briansimoni
Copy link

Steps to reproduce:

$ npm install -g yo
$ npm install -g generator-swaggerize
$ mkdir petstore && cd $_
$ yo swaggerize # follow the prompts, select Hapi, using petstore.json
$ npm start

Result:

(node:23813) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'access' of undefined
    at Object.create (/home/brian/petstore/node_modules/hapi-openapi/lib/routes.js:108:34)

node version: v10.15.1
npm version: 6.9.0
yo version: 2.0.5
OS: Ubuntu 18.04

I also tried this on Windows 10 and an Alpine Node.js Docker container with the same results.

@tlivings
Copy link
Contributor

Thanks for raising this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants