Transpile issue
Posted: Mon Dec 11, 2023 4:38 pm
Hi all
Trying to understand and learn node.js. While trying to create a script using typescript I am having an issue with the transpile command in the terminal - it is giving me this error. What am I doing wrong? Any help much appreciated.
PS C:\Users\switch\Scripts\Node.js\Test> SwitchScriptTool --transpile .
SwitchScriptTool : The term 'SwitchScriptTool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ SwitchScriptTool --transpile .
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (SwitchScriptTool:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Trying to understand and learn node.js. While trying to create a script using typescript I am having an issue with the transpile command in the terminal - it is giving me this error. What am I doing wrong? Any help much appreciated.
PS C:\Users\switch\Scripts\Node.js\Test> SwitchScriptTool --transpile .
SwitchScriptTool : The term 'SwitchScriptTool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ SwitchScriptTool --transpile .
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (SwitchScriptTool:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException