swagger-koa icon indicating copy to clipboard operation
swagger-koa copied to clipboard

Unable to run example due to missing modules

Open mhaberl opened this issue 4 years ago • 0 comments

TL;DR: koa-render and jade packages are missing for the example to run

How to reproduce: When trying to run the example following instructions after npm install node --harmony app.js user gets an error:

Error: Cannot find module 'koa-render'

After running: npm install koa-render node --harmony app.js

and opening the http://localhost:3000/ user gets an error:

Error: Cannot find module 'jade'

After running npm install jade the app runs fine.

mhaberl avatar Apr 24 '20 07:04 mhaberl