vercel / micro-dev

The development environment for `micro`
MIT License
706 stars 77 forks source link

Restore compatibility with micro@canary #101

Closed Bessonov closed 2 years ago

Bessonov commented 5 years ago

It's not urgent, but should be considered for the next version of micro.

I get following error:

(node:18948) UnhandledPromiseRejectionWarning: TypeError: server.listen is not a function
    at module.exports (/home/vagrant/workspace/node_modules/micro-dev/lib/serve.js:48:9)