Cannot use two apps for production and staging with .toml files and shopify app config link

Cannot use two apps for production and staging with .toml files and shopify app config link

mariusbolstad98
Shopify Partner
2 0 0

I have followed the steps explained in here: https://shopify.dev/docs/apps/build/cli-for-apps/manage-app-config-files#test-your-app-functionality

But the CLI will always start the app in production (flett-development), even though it says that it uses the .toml file for (flett-development-local). I have made sure to use "shopify app config link" and link the toml file to a new app, and the "shopify app config use" to select the "shopify.app.local.toml" file.

 

Any ideas to why the shopify CLI says 1 thing:
- You are using shopify.app.local.toml

 

And then the content of  App inside the info box is wrong. (It says Flett Integration Development, but should be "Flett Development Local")

 

Screenshot 2024-09-26 at 23.54.30.pngScreenshot 2024-09-26 at 23.56.06.pngScreenshot 2024-09-26 at 23.57.25.pngScreenshot 2024-09-26 at 23.57.53.png

 

Any help would be much appreciated!

 

Replies 0 (0)