1
00:00:00,540 --> 00:00:06,960
In this video we are going to run CDK commands on visual code, but before that I would like to show

2
00:00:06,960 --> 00:00:09,690
one exception and how we can solve that exception.

3
00:00:09,690 --> 00:00:11,430
One Running CDK commands.

4
00:00:11,730 --> 00:00:18,390
In some cases when you first try to run CDK commands from the pseudocode, it might get getting error.

5
00:00:18,390 --> 00:00:27,480
So when I first drive from the widget, I get also execution policy error you if you get a response

6
00:00:27,480 --> 00:00:28,890
from the CDK version.

7
00:00:30,040 --> 00:00:31,090
The stage version.

8
00:00:34,030 --> 00:00:35,710
From the business to the coal terminal.

9
00:00:35,740 --> 00:00:36,490
It's okay.

10
00:00:36,490 --> 00:00:37,540
You work fine.

11
00:00:37,540 --> 00:00:46,150
But in some cases, if you got error about which is the code about the execution policies, if you see

12
00:00:46,150 --> 00:00:49,450
this kind of error, let me copy paste in here.

13
00:00:50,360 --> 00:00:57,740
When I first ran, I saw that this kind of error, which is the C about execution policies and so on.

14
00:00:57,920 --> 00:01:04,880
So in order to solve this error, if you face this error, you should run a command before running the

15
00:01:04,880 --> 00:01:08,480
CDK command, which is the set execution command.

16
00:01:08,510 --> 00:01:10,220
Let me copy paste in here.

17
00:01:10,460 --> 00:01:18,380
If you face this execution error, you should run this command for the one time set execution policy

18
00:01:18,380 --> 00:01:20,960
which removes signed scope current user.

19
00:01:20,990 --> 00:01:26,810
By this way, you can grant or give permission to the current user to execute CDK commands from the

20
00:01:26,810 --> 00:01:27,760
Visual Studio code.

21
00:01:27,800 --> 00:01:29,030
So this is important.

22
00:01:29,030 --> 00:01:31,160
So that's why I would like to share it with you.

23
00:01:31,430 --> 00:01:39,980
After you running this command, you will be able to run CDK Command, CDK Dash version and CDK in cdcc

24
00:01:40,010 --> 00:01:42,950
api synthesize, give and deploy commands.

25
00:01:43,390 --> 00:01:43,700
Okay.

26
00:01:43,730 --> 00:01:47,900
As you can see that now I'm ready and we are ready to run.

27
00:01:47,900 --> 00:01:49,880
CDK commands from within pseudocode.

28
00:01:49,910 --> 00:01:53,600
In the next video we are going to order with all the CDK commands.
