Hi Support Team
I installed the NCS V3.1.0 just now. But there was an issue of west: unknown command "build" for the NCS V3.1.0 when I built a sample. Many thanks.


Hi Support Team
I installed the NCS V3.1.0 just now. But there was an issue of west: unknown command "build" for the NCS V3.1.0 when I built a sample. Many thanks.


Hello,
The error indicates that your west workspace is located in c:/ncs while it should be in c:/ncs/v3.1.0/ by default if you've installed the SDK via the VS code extension. Please check where the SDK got placed by opening the drop-down menu in the build configuration here:

Best regards,
Vidar
Hello,
The error indicates that your west workspace is located in c:/ncs while it should be in c:/ncs/v3.1.0/ by default if you've installed the SDK via the VS code extension. Please check where the SDK got placed by opening the drop-down menu in the build configuration here:

Best regards,
Vidar
Hi Vidar
I installed the SDK via the VS code extension and the SDK is located in the following screenshot location. How to change the location of west workspace to the location of the SDK? Many thanks.
Hi,
Thanks. It looks to be installed correctly. Could you please also check that there is not folder named ".west" in c:\ncs? If there is, please rename or delete it and then try to build again.
Hi Vidar
It is ok now. Thank you so much.