Failing to run "npm run dev" after creating an app

Solved

Failing to run "npm run dev" after creating an app

allansilva
Shopify Partner
6 3 0

I started configuring a new app by following the following commands:

 

  1. `npm init @Shopify/app@latest`
  2. npm run dev
  3. I log in and receive the following message:

 

request to https://accounts.shopify.com/oauth/token?grant_type=authorization_code&co  │
│  de=1f1f69ff77e478c1b454a038602b601537976052ef05b00e8fa6d17478fab319&redirect_uri=htt  │
│  p%3A%2F%2F127.0.0.1%3A3456&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&code_verif  │
│  ier=qJO4HIKbNiGHj4wcQTQkScq_2st2FF5fcf8Ro_Yotfg failed, reason: self-signed           │
│  certificate in certificate chain

I'm using Node 18.12.1.

 

Accepted Solution (1)

allansilva
Shopify Partner
6 3 0

This is an accepted solution.

I made a downgrade of my macOS version from Ventura do Monterey, and started to work again.

View solution in original post

Reply 1 (1)

allansilva
Shopify Partner
6 3 0

This is an accepted solution.

I made a downgrade of my macOS version from Ventura do Monterey, and started to work again.