You are using the --module
flag but not specifying a module type (hence undefined
). Use --module commonjs
Typescript compiler 1.0RC gives Unable to get value of the property 'toLowerCase'
-
18-10-2022 - |
Pergunta
I just tried to compile a 0.9 ts project with the ts 1.0 exe but get this when my file watcher is run:
"C:/Program Files (x86)/Microsoft SDKs/TypeScript/tsc.exe" --sourcemap Common.ts --module tsc.js(55958, 21) Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined
The exe is defined where the visual studio plugin installed it, maybe I need to use the node one instead? but when I point the file watcher to the node version is complains that its not an .exe
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow