Solution: (test available)
run PowerShell as an administrator and execute the command set-ExecutionPolicy RemoteSigned
to change the execution policy of PowerShell
to RemoteSigned
1. Win + X: select windows PowerShell to open the shell
2. Run set-ExecutionPolicy RemoteSigned
command and enter y
3. Run get-ExecutionPolicy
command to see that the execution policy of the script has been changed to RemoteSigned
4. Return to the vscode terminal and enter the command TSC – V to stop reporting errors, TS files can also be compiled
Read More:
- VSCode Terminal Execute tsc Commands Error [Solved]
- [Solved] tsc execute error in VSCode Terminal
- Vscode configures eslint to solve terminal syntax error
- VScode: How to Solve golong plug-in install Error
- VScode integrate terminal input node error [How to Solve]
- [Solved] Vscode1.71.0 terminal error: `sed: illegal option — r`
- How to Solve VScode 2022 error: msvcp110d.dll not found
- [Solved] VScode powershell Run ts-node Error: Unable to load file xxxx…
- How to Solve webpack -v View Error in vsode
- Vue+TS main.ts error: unused expression, expected an assignment or function call
- Angular6 rxjs start error in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
- [Solved] Vscode error: Unable to resolve resource walkThrough://vscode_getting_started_page
- [Solved] VScode Error: PS D:\vscode> cd “d:\vscode\“ ; if ($?) { g++ tempCodeRunnerFile.cpp -o tempCodeRunn
- [Solved] error TS2584: Cannot find name ‘console’. Do you need to change your target library? Try changing the ‘lib’ compiler option to include ‘dom’.
- How to Solve Loadrunner Error: Failed to find .cfg file
- How to Solve 0xc1900101 Error (Win10 upgrade Win11)
- How to Solve svn error: WC DB
- [Solved] TS Error: Could not find a declaration file for module
- How to Solve Microsoft.CppCommon.targets(279,5): error MSB3073
- MAC: How to Solve VirtualBox cannot open Issues