Skip to content

[Repo] Remove the need for node when build Maui solution #30104

@pictos

Description

@pictos

Right now I can't build the main branch locally because it asks me to have node (npm) in order to build some type-script. It wasn't needed before. I don't want to install node and packages on my machine in order to build/run Maui's code.

msbuild.binlog.zip

The error message that prints:

/Users/pedrojesus/.nuget/packages/microsoft.typescript.msbuild/5.7.1/tools/Microsoft.TypeScript.targets(566,5): error MSB6003:
The specified task executable "node" could not be run. System.ComponentMod
el.Win32Exception (2): An error occurred trying to start process 'node' wi
th working directory '/Users/pedrojesus/Git/maui/src/Core/src'. No such fi
le or directory
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo start
Info, String resolvedFilename, String[] argv, String[] envp, String cwd, B
oolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int
32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boole
an throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at Microsoft.Build.Utilities.ToolTask.StartToolProcess(Process proc)
at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, St
ring responseFileCommands, String commandLineCommands)
at TypeScript.Tasks.VsTsc.ExecuteTool(String pathToTool, String respons
eFileCommands, String commandLineCommands)
at Microsoft.Build.Utilities.ToolTask.Execute()

Metadata

Metadata

Labels

area-infrastructureCI, Maestro / Coherency, upstream dependencies/versions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions