I am installing aws-cdk on windows using powershell,
First I was getting Error : "\AppData\Roaming\npm' npm ERR! enoent This is related to npm not being able to find a file."
during installation. I fixed that by creating folder "\AppData\Roaming\npm" as recommended by some solution.
Now my installation is successful with "npm i -g aws-cdk". No error reported,
but when I do "cdk --version" I am getting "cdk : The term 'cdk' is not recognized as the name of a cmdlet, function, script file, or operable program."
"npm -g ls --depth=0" returns C:\Users<username>\AppData\Roaming\npm `-- aws-cdk@1.72.0