tsc is not recognized as the name of a cmdlet, function script or operable programs
Prem Murmu
on
9/5/2022 4:25:38 AM
Tsc is not recognized as the name of a cmdlet, function script or operable programs error appears when running the typescript in vs code.
Solution is typescript not installed globally or execution policy does not allow running the specific script on Windows.
First: need to install typescript globally or if it is already installed please configured the typescript path in your windows system environment path.
To do this, we run below command in cmd
npm install -g typescript
Second: Set the execution policy to allowing running scripts
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Thanks hope it will work.
0 Comments on this post
Comments(0)||Login to Comments
- see more..
Categories
ALLAsp.Net (3)
Sitecore (11)
Issues Resolved (9)
Sitecore 9.3 (2)
International Business (1)
Innovations in Industries (3)
Supply Chain Management (1)
Industrial Engineering (14)
Sitecore 10 (4)
Sharepoint (1)
Azure (4)
Cloud Computing (1)
Online Courses (1)
Online Resources (2)
C# (1)
Blazor WebAssembly (2)
Sitecore form (1)
MS Sql Server (1)
Angular 11 (2)
Automobile Engineering (5)
Sitecore powershell (1)
Devops (2)
Microservice Architecture (1)
Sitecore Interview Questions (2)
Dotnet interview questions (1)
Sitecore useful links (1)
Privacy&Cookies (2)
Solr Search (2)
JavaScript (1)
sitecore xm cloud (3)