cmorten / opine

Minimalist web framework for Deno ported from ExpressJS.
https://github.com/cmorten/opine/blob/main/.github/API/api.md
MIT License
854 stars 43 forks source link

TypeError: Cannot read property 'get' of undefined #110

Closed minons1 closed 3 years ago

minons1 commented 3 years ago

Setup:

Details

Hi, I'm trying to run getting started code from opine deno land, but I got this error message image

Is there any problem I am facing, any solution that may work? thank you in advance

asos-craigmorten commented 3 years ago

Hi @minons1 👋

It seems something changed between 1.8.3 and 1.9.0 ( released yesterday! ) of Deno which resulted in the Opine response object missing a fundamental property which causes this error.

I've released a new version 1.3.0 of Opine which hopefully resolves this issue - let me know if you still are having issues with the new release and we can reopen this issue! 🙃

minons1 commented 3 years ago

thank you @asos-craigmorten for your help, it works perfectly now 😎

asos-craigmorten commented 3 years ago

Awesome 🎉 great to hear! 😄