Quick Start is Broken
briansimoni opened this issue · 1 comments
briansimoni commented
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 commented
Thanks for raising this.