I'm trying to use `@vercel/sdk` and I keep getting all kinds of wonkiness w/ imports
Answered
troop4christ posted this in #help-forum
My IDE is find w/ the imports, but the compiled runtime is throwing an exception on trying to import the models. What gives?
🤯
🤯
Answered by troop4christ
Turns out we were doing
commonjs
in our tsconfig... changed to nodenext
and it worked just fine 🤦♂️3 Replies
Oddly enough.. these 4 imports with the same import paths compile into runtime code just fine when I spoof out the bad two..
Anyone w/ any ideas? Please?
Anyone w/ any ideas? Please?
Turns out we were doing
commonjs
in our tsconfig... changed to nodenext
and it worked just fine 🤦♂️Answer