I have an asp .net core-project with react and typescript as front end.
I came back to work this morning, ran "Build" on my project, got this error message. Does anyone know what it means and how to fix it?
Severity Code Description Project File Line Suppression State Error MSB6006 "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Microsoft\VisualStudio\NodeJs\node.exe" exited with code -1073741819. MyProject.Web C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.5\build\Microsoft.TypeScript.targets 463
The only hint I can see is File: "Typescript Targets" When I checked Solution Properties->Typescript Builds I see that my selected Typescript version (3.1) is "unavailable" and that the only available version is 3.5, so I changed to 3.5, but that didnt do anything
NODE_OPTIONSenvironment variable set on my computer that overrode the memory limit, which was causing an error whennode.exewas invoked from Visual Studio. Absolutely untraceable, and lucky I remembered I had set the variable not too long ago. Removing theNODE_OPTIONSvariable worked after restarting VS. - qJake