You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Crash on Linux: Paket failed with -> Win32Exception: An error occurred trying to start process 'dotnet' with working directory '/home/knocte/Documents/FSharpLint'. No such file or directory
#4141
Open
knocte opened this issue
Apr 11, 2022
· 0 comments
· May be fixed by #4142
Trying to run `~/.dotnet/tools/paket update Ionide.ProjInfo.ProjectSystem resulted in the error:
Paket failed with
-> Win32Exception: An error occurred trying to start process 'dotnet' with working directory '/home/knocte/Documents/FSharpLint'. No such file or directory
Install paket via ~/.dotnet/dotnet tool update -g paket.
Clone [email protected]:fsprojects/FSharpLint.git (at the time of writing, master branch is at commit hash 2688e50bfdf7b0344eb3404d1c232b09ad90bfa1 )
cd FSharpLint and run paket restore via ~/.dotnet/tools/paket restore (it works, dependencies are restored)
Run ~/.dotnet/tools/paket update Ionide.ProjInfo.ProjectSystem
Expected behavior
Should upgrade paket.dependencies file to raise Ionide.ProjInfo.ProjectSystem's version to latest.
Actual behavior
Crashes:
$ ~/.dotnet/tools/paket update Ionide.ProjInfo.ProjectSystem
Paket version 7.1.4+6190f61f11581b1d1d44c8e8e74ea97ccdb8760a
Updating Ionide.ProjInfo.ProjectSystem in /home/knocte/Documents/FSharpLint/paket.dependencies group Main
Resolving dependency graph...
Installing into projects:
Created dependency graph (321 packages in total)
Something went wrong while downloading runtime.native.System.Net.Security 4.3.1
Message: Start of process ln failed.
==> Trying again
Downloading runtime.native.System.Net.Security 4.3.1 (Docs)
Something went wrong while downloading System.Diagnostics.TraceSource 4.3
Message: Start of process ln failed.
==> Trying again
Downloading System.Diagnostics.TraceSource 4.3 (Docs)
Something went wrong while downloading System.Security.Cryptography.Pkcs 5.0.1
Message: Start of process ln failed.
==> Trying again
Downloading System.Security.Cryptography.Pkcs 5.0.1 (Docs)
Something went wrong while downloading System.Reflection.Extensions 4.3
Message: Start of process ln failed.
==> Trying again
Downloading System.Reflection.Extensions 4.3 (Docs)
Download of runtime.native.System.Net.Security 4.3.1 (Docs) done in 896 milliseconds. (266 kbit/s, 0 MB)
Download of System.Diagnostics.TraceSource 4.3 (Docs) done in 1 second. (1721 kbit/s, 0 MB)
Download of System.Reflection.Extensions 4.3 (Docs) done in 1 second. (767 kbit/s, 0 MB)
Download of System.Security.Cryptography.Pkcs 5.0.1 (Docs) done in 1 second. (8310 kbit/s, 1 MB)
Something went wrong while downloading System.Linq.Queryable 4.3
Message: Start of process ln failed.
==> Trying again
Downloading System.Linq.Queryable 4.3 (Docs)
Download of System.Linq.Queryable 4.3 (Docs) done in 847 milliseconds. (2602 kbit/s, 0 MB)
Could not detect any platforms from 'config' in '/home/knocte/.nuget/packages/microsoft.codeanalysis.analyzers/3.3.2/build/config/AnalysisLevel_3_3_Default.editorconfig', please tell the package authors
Calling dotnet restore on FSharpLint.sln
Total time taken: 58 seconds
Paket omitted 17 warnings. You can see them in verbose mode.
Paket failed with
-> Win32Exception: An error occurred trying to start process 'dotnet' with working directory '/home/knocte/Documents/FSharpLint'. No such file or directory
Known workarounds
Not yet.
The text was updated successfully, but these errors were encountered:
knocte
added a commit
to knocte/Paket
that referenced
this issue
Apr 12, 2022
Description
Trying to run `~/.dotnet/tools/paket update Ionide.ProjInfo.ProjectSystem resulted in the error:
Repro steps
Install ubuntu 20.04
Install dotnet via
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin
as instructed by https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-install-scriptDo
export DOTNET_ROOT=$HOME/.dotnet
as instructed by the required library libhostfxr.so could not be found. fantomas#412 (comment)Do
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
as instructed by https://docs.microsoft.com/en-us/dotnet/core/runtime-config/globalizationInstall paket via
~/.dotnet/dotnet tool update -g paket
.Clone
[email protected]:fsprojects/FSharpLint.git
(at the time of writing, master branch is at commit hash 2688e50bfdf7b0344eb3404d1c232b09ad90bfa1 )cd FSharpLint
and runpaket restore
via~/.dotnet/tools/paket restore
(it works, dependencies are restored)Run
~/.dotnet/tools/paket update Ionide.ProjInfo.ProjectSystem
Expected behavior
Should upgrade paket.dependencies file to raise Ionide.ProjInfo.ProjectSystem's version to latest.
Actual behavior
Crashes:
Known workarounds
Not yet.
The text was updated successfully, but these errors were encountered: