Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uno Gallery build fails with "The specified task "node" could not be run" (Ubuntu 22.04) #708

Closed
ahmedabdelkabier opened this issue May 15, 2023 · 3 comments
Labels
triage/support Indicates an issue that is a support question.

Comments

@ahmedabdelkabier
Copy link

/home/ahmed/.nuget/packages/microsoft.typescript.msbuild/4.6.4/tools/Microsoft.TypeScript.targets(320,5): error MSB6003: The specified task executable "node" could not be run. System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'node' with working directory '/media/ahmed/New Volume/Uno.Gallery/Uno.Gallery/Uno.Gallery.Wasm'. No such file or directory [/media/ahmed/New Volume/Uno.Gallery/Uno.Gallery/Uno.Gallery.Wasm/Uno.Gallery.Wasm.csproj]
/home/ahmed/.nuget/packages/microsoft.typescript.msbuild/4.6.4/tools/Microsoft.TypeScript.targets(320,5): error MSB6003:    at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/media/ahmed/New Volume/Uno.Gallery/Uno.Gallery/Uno.Gallery.Wasm/Uno.Gallery.Wasm.csproj]
/home/ahmed/.nuget/packages/microsoft.typescript.msbuild/4.6.4/tools/Microsoft.TypeScript.targets(320,5): error MSB6003:    at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/media/ahmed/New Volume/Uno.Gallery/Uno.Gallery/Uno.Gallery.Wasm/Uno.Gallery.Wasm.csproj]
/home/ahmed/.nuget/packages/microsoft.typescript.msbuild/4.6.4/tools/Microsoft.TypeScript.targets(320,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/media/ahmed/New Volume/Uno.Gallery/Uno.Gallery/Uno.Gallery.Wasm/Uno.Gallery.Wasm.csproj]
/home/ahmed/.nuget/packages/microsoft.typescript.msbuild/4.6.4/tools/Microsoft.TypeScript.targets(320,5): error MSB6003:    at TypeScript.Tasks.VsTsc.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/media/ahmed/New Volume/Uno.Gallery/Uno.Gallery/Uno.Gallery.Wasm/Uno.Gallery.Wasm.csproj]
/home/ahmed/.nuget/packages/microsoft.typescript.msbuild/4.6.4/tools/Microsoft.TypeScript.targets(320,5): error MSB6003:    at Microsoft.Build.Utilities.ToolTask.Execute() [/media/ahmed/New Volume/Uno.Gallery/Uno.Gallery/Uno.Gallery.Wasm/Uno.Gallery.Wasm.csproj]


The build failed. Fix the build errors and run again.
@ahmedabdelkabier ahmedabdelkabier added the triage/support Indicates an issue that is a support question. label May 15, 2023
@ahmedabdelkabier ahmedabdelkabier changed the title Uno Gallery build fails with "The specified task "note" could not be run" Uno Gallery build fails with "The specified task "node" could not be run" May 15, 2023
@ahmedabdelkabier ahmedabdelkabier changed the title Uno Gallery build fails with "The specified task "node" could not be run" Uno Gallery build fails with "The specified task "node" could not be run" (Ubuntu 22.04) May 15, 2023
@jeromelaban
Copy link
Member

Thanks for the report. Looking at the error, it seems that you need to install node first.

@ahmedabdelkabier
Copy link
Author

@jeromelaban It worked thanks for the help

@mjhmjhgkmj
Copy link

Thanks for the report. Looking at the error, it seems that you need to install node first.

install node and npm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/support Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

3 participants