Closed ejfox closed 2 months ago
Hey @farnabaz any plans on creating a hotfix release for this?
Kindly asking if this will be released any time soon? I cant deploy most of the apps that use this module because of this error.
Hey there, This week I will prepare a patch release
Thanks. Appreciate it
What is the root cause? In my case, I can't avoid it with #imports
import { useRequestBody } from "nitropack/runtime/utils";
It's not work:
import { useRequestBody } from "#imports";
This is my first PR- but this bug has been bugging me for a few weeks now, and I'm not sure if I have some unique setup that causes the error, but this is blocking me from doing pretty much anything- so I figured I'd give it a shot!
I am not sure the best way to go about testing this- but I am essentially cargo-culting the solution from nuxt/icon and hoping this can be solved in the same way- let me know how to best support/test/finish this off and I will do my best
🔗 Linked issue
MIGHT SOLVE https://github.com/nuxt/content/issues/2736
Related:
❓ Type of change
I tried the mirror the changes from
nuxt/icon
in this commit: https://github.com/nuxt/icon/pull/249/files📚 Description
In the previous version,
defineNitroPlugin
was imported fromnitropack/runtime
- this instead uses#imports
Currently when running
yarn dev
with latest Nuxt / Nuxt Content, I get this:which prevents both publishing and development
📝 Checklist