Fix: process.env may not exist #61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sometimes
process != 'undefined'butprocess.env == undefined,in a framework Nuxt3. Like this:Error:

Anyhow,maybe we should check whether
envexists in this place.With this patch it'll still crash if
processis not defined at all. I've pushed an alternative patch that should handle that too.Thinks! I made a mistake with typescript.
Pull request closed