koajs / joi-router

Configurable, input and output validated routing for koa
MIT License
450 stars 96 forks source link

Cannot find module 'await-busboy' #36

Closed Aurelsicoko closed 7 years ago

Aurelsicoko commented 7 years ago

In the last commit, some changes have been made but it brokes the router. The dependency await-busboy doesn't exist. I used Node v7.0.0 with --harmony flag and I ran npm install twice.

Thanks for the amazing work on this repository!

node --harmony server.js
module.js:474
    throw err;
    ^

Error: Cannot find module 'await-busboy'
    at Function.Module._resolveFilename (module.js:472:15)
    at Function.Module._load (module.js:420:25)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/aurelien/repositories/strapi/packages/strapi/node_modules/koa-joi-router/joi-router.js:9:16)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)
    at Function.Module._load (module.js:441:3)
    at require (internal/module.js:20:19)
aheckmann commented 7 years ago

The branch with this problem is a work in progress and has not been merged or released yet. The open PR states this is an open task. Do not use this branch. https://github.com/koajs/joi-router/pull/35

Aurelsicoko commented 7 years ago

Sorry for the inconvenience... I'm using this branch to anticipate Koa2 migration. If you need help, I will glad to contribute. Thanks again for you work!

aheckmann commented 7 years ago

No worries. I'll get the missing module published this week which unblocks the other TODOs. I'm not in a huge rush because Node 7 still requires passing a V8 flag to enable async/await. On Mon, Nov 7, 2016 at 2:52 PM Aurélien GEORGET notifications@github.com wrote:

Sorry for the inconvenience... I'm using this branch to anticipate Koa2 migration. If you need help, I will glad to contribute. Thanks again for you work!

— You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub https://github.com/koajs/joi-router/issues/36#issuecomment-258989578, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKLsv-X4cE6gygESv5O1GoocDmJPDwxks5q76vFgaJpZM4KrYo3 .