Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How to fix the CLI error 'No organization found'?

How to fix the CLI error 'No organization found'?

Will-devpower
Visitor
1 0 0

Hello,


I keep getting this error even after I logged out and tried logging in with command like 

npm run dev 
npm run dev --reset
npm run dev -- --reset

There's one more thing. I tried this both in windows and WSL but I got the same error in both environments. In WSL I checked my Shopify CLI version and and it says  

Current Shopify CLI version: 3.28.0
💡 Version 3.46.1 available!

then I tried to update with shopify upgrade and it says 

You're on the latest version, 3.46.1, no need to upgrade!

Willdevpower_0-1685553907900.png


Please I'd appreciate some assistance to fix this issue.

 

Replies 4 (4)

paul-rhc
Shopify Partner
2 0 1

I am having the exact same issue.  In the attached screenshot, you can see that I'm logged into my organization. I have tried all of the --reset options, as well as logging out/logging in 

 

"@shopify/app": "3.46.5",
"@shopify/cli": "3.46.5"
 
paul-rhc
Shopify Partner
2 0 1

Screenshot-2023-06-22-at-6.34.24-PM.jpg

intrepidcym
Shopify Partner
5 0 0

anyone find the solution to this? i m having the same issue. 

intrepidcym
Shopify Partner
5 0 0

Actually, saw in another thread. all i needed to do is Shopify auth logout  and then re run npm run dev. Fixed my issue