Developers encounter an access error when running npm run dev after scaffolding a Shopify extension. The error message states “Looks like you need access to this dev store” and suggests logging into the store directly or creating a staff account.
Reported Solutions:
Solution 1 (from Astides):
- Log out of all Shopify accounts
- Clear browser cache/cookies for shopify.com
- Close all browsers
- Run
npm run dev -- --reset
- Login to Partner Portal when prompted
Solution 2 (from Viktor_Shtodler):
- Use
shopify auth to check current login status
- Run
shopify auth logout followed by shopify auth login in CLI
Multiple users confirmed experiencing the same issue. The discussion remains open with community-provided workarounds focused on authentication reset procedures.