When executing a NextJS server action in v0, we’re seeing process.platform
return undefined
which is causing SDK calls to fail. Given that it’s emulating a NodeJS runtime, we would expect process.platform
to return a string.
I’ve passed this feedback on internally
Is the SDK call your own code or a library you’re using? If it’s your own, the process.platform can be expected to change between Node versions so it’s best not to rely on it too strictly, but I agree returning some string here seems like an easy fix