Log into Shopify account from external server

Log into Shopify account from external server

AlexisS
Shopify Partner
16 0 4

I recently updated Shopify CLI to latest version (3.78.0) and when I run the build command on the prod server (AWS EC2) it tries to log into the Shopify Partner account, but there's no browser to complete that... so, is there a solution to this?

 

$ npm run build

> shopify app build

To run this command, log in to Shopify.
User verification code: WWNR-QRST
👉 Press any key to open the login page on your browser

Opened link to start the auth process: https://accounts.shopify.com/activate-with-code?device_code%5Buser_code%5D=WWNR-QRST
Error: spawn xdg-open ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:483:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
$

 

Replies 0 (0)