I am a beginner learning React and Node.js. When I run touch 'index.js' command in server it shows 'touch : File C:\Users\sandu\AppData\Roaming\npm\touch.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see
about_Execution_Policies is located at https://go.microsoft.com/fwlink/?LinkID=135170. On line: 1 Characters: 1
+ CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess'
%E
Sanduni It seems you need to set the execution policy to
RemoteSigned
on Powershell. Just run the following command on powershell.