Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hey !
I'm trying to login To my shopify store using shopify cli on Linux Manjaro but I still have errors !
first launch of the "shopify login" command i get this error :
so i tried to edit xdg-open file :
Before Editing the file:
if [ x"$BROWSER" = x"" ]; then
BROWSER=www-browser:links2:elinks:links:lynx:w3m
if has_display; then
BROWSER=mozilla:x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:chromium:google-chrome:$BROWSER
fi
fi
After Editing the file ( i added chromium in the first line and before :mozilla)
if [ x"$BROWSER" = x"chromium" ]; then
BROWSER=www-browser:links2:elinks:links:lynx:w3m
if has_display; then
BROWSER=chromium:mozilla:x-www-browser:firefox:iceweasel:seamonkey:mozilla:epiphany:konqueror:google-chrome:$BROWSER
fi
fi
And i Got this :
I tried to open the url using "xdg-open my-url" command (without using sudo) but I got that :
my personal opinion on this error :
I think the "shopify login" command is trying to open the url as root because when i run "sudo xdg-open my-url" i got the same error so I had to use the command without sudo , in any case I can manually open the url but I can't login !!!
if "the root access" is the cause, I don't know how to force "shopify login" to launch the url without root access .. , otherwise I don't know what to do is there a solution please ??