Replies: 2 comments 3 replies
-
Have you tried with example apps on this repo? Let me know if you have the same issue. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have managed to get it running locally by doing this
where my lib/swagger.ts file looks like this:
Both the dynamic import way, and the direct one seem to work for me locally. However, when trying to deploy to vercel, I get either an error with Jest (not using that myself, so dependency issue there) or value undefined:
I don't know if this is better or worse, but I can at least work locally for now |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Hey,
Would've loved this to work, but even with the best of tries, I couldn't get it to work.
After running
yarn build
, I get the following...Reproduction
Install latest version of Next, and latest version of this lib.
System Info
Beta Was this translation helpful? Give feedback.
All reactions