Error logging in to Prismic through Terminal

Hi,

When using Slice Machine through Terminal, I keep getting an error message that I’m trying to login through Terminal, but something went wrong. And I should post here.

Everything was working fine, until now…

Gr,

Andy

Ok I just found it, Slice Machine changed my environment variable NEXT_PUBLIC_PRISMIC_ENVIRONMENT value to undefined.

Hey @andylemaire, thanks for raising this and coming back with a solution - this might help the next person running into this :slight_smile: