trying to create a checkout extension using vs code and yarn but geeting error message

trying to create a checkout extension using vs code and yarn but geeting error message

wwdavedo
Shopify Partner
10 0 3

Hi

 

using this video to create a checkout extension.

 

https://youtu.be/18rGm1ndMaI?t=542

 

But when I get to the part of yarn dev the extension created it doesnt work.

1. Either it states 

yarn run v1.22.19
$ shopify app dev

Looks like this is the first time you're running dev for this project.
Configure your preferences by answering a few questions. (at this point I should be asked to connect to my partner account but no)

╭─ error 
│ The directory │
│ C:/Users/justd/OneDrive/Desktop/DEVELOPMENT/custom-fields/extensions/custom-field-app │
│ doesn't have a package.json. │

 

the package.json is located the folder before/root so I moved it into the new extension folder I've created and this is the new message

 

yarn dev
yarn run v1.22.19
'shopify' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

 

Can some one explain why I'm unable to connect to shopify partner account ?

Replies 0 (0)