Couldn't access FDK commands

Hello,
I am using the latest version of the FDK and Node version 18. I am trying to run a FDK app in the platform version 2.3 but i’m consistently facing an error. (PFA)


The error says “global apps is supported only for platform versions 3.0 and above” but the app i’m trying to run/pack is 2.2

Node Version :

FDK version :

Currently i am working on a public app enhancement/bugfix, and since i couldn’t use fdk run and fdk pack commands, I am currently stuck. Can you please help me with this? Thank you!

Hi @Thamaraiselvan,

The global apps are supported only with app platform version 3.0 and FDK version 9.1.0 and above.
However, on the latest version of FDK, it has to be enabled with a flag to activate a global or product-specific app.

This flag is probably enabled for your app, though it’s not a global app. So, you can disable the flag and then run the app without this error.

Execute the following command in the terminal/command prompt opened in the root folder of the app folder.

fdk config set --scope local global_apps.enabled false

Hello Raviraj,
Thank you for your reply. I have tried that initially, Now i’m receiving the below error. Can you please help me with the steps to resolve it?

Note : I have tried uninstalling and reinstalling the FDK CLI multiple times, still this issue persists.

Thank you!

@Thamaraiselvan, We can check if we can replicate the issue and confirm if it’s a bug.

Can you find the configuration file directly and modify it manually to get unblocked?

The file path is .fdk/config.json. Here, change the value from true to false for global apps as follows:

{"global_apps":{"enabled":"false"}}

Hello Raviraj,
Thank you for your reply. This solves the problem for me. Thank you for your time and support.

1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.