milenacaradepena
Newcomer
I play on a windows 10 laptop. After months of not playing yesterday I was updating all the older versions of mods that I had including smapi because when I tried to play with the 3.18.2 the game launched but then got stuck, but after I updated to 3.18.4 it won't even let me install it because of an issue with ErrorHandler and I can't even delete or view the file so I don't know how to fix it.
This is the raw log that appears when trying to install smapi.
That's all I need! I'll install SMAPI now.
Game path: c:\program files (x86)\steam\steamapps\common\Stardew Valley
Color scheme: auto-detect
----------------------------------------------------------------------------
Removing previous SMAPI files...
Adding SMAPI files...
Adding bundled mods...
The installer failed with an unexpected exception.
If you need help fixing this error, see https://smapi.io/help
System.UnauthorizedAccessException: Access to the path 'c:\program files (x86)\steam\steamapps\common\Stardew Valley\Mods\ErrorHandler' is denied.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String , Boolean )
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String , Boolean , EnumerationOptions )
at System.IO.Enumeration.FileSystemEnumerable`1.DelegateEnumerator..ctor(FileSystemEnumerable`1 , Boolean )
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String , FindTransform , EnumerationOptions , Boolean )
at System.IO.Enumeration.FileSystemEnumerableFactory.DirectoryInfos(String , String , EnumerationOptions , Boolean )
at System.IO.DirectoryInfo.InternalEnumerateInfos(String , String , SearchTarget , EnumerationOptions )
at System.IO.DirectoryInfo.GetDirectories(String , EnumerationOptions )
at System.IO.DirectoryInfo.GetDirectories()
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.IsModSearchFolder(DirectoryInfo root, DirectoryInfo folder) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 289
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.GetModFolders(DirectoryInfo root, DirectoryInfo folder, Boolean useCaseInsensitiveFilePaths)+MoveNext() in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 218
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.GetModFolders(DirectoryInfo root, DirectoryInfo folder, Boolean useCaseInsensitiveFilePaths)+MoveNext() in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 227
at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 )
at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 )
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 )
at StardewModdingApi.Installer.InteractiveInstaller.Run(String[] args) in E:\source\_Stardew\SMAPI\src\SMAPI.Installer\InteractiveInstaller.cs:line 448
at StardewModdingApi.Installer.Program.Main(String[] args) in E:\source\_Stardew\SMAPI\src\SMAPI.Installer\Program.cs:line 55
Game has ended. Press any key to exit.
This is the raw log that appears when trying to install smapi.
That's all I need! I'll install SMAPI now.
Game path: c:\program files (x86)\steam\steamapps\common\Stardew Valley
Color scheme: auto-detect
----------------------------------------------------------------------------
Removing previous SMAPI files...
Adding SMAPI files...
Adding bundled mods...
The installer failed with an unexpected exception.
If you need help fixing this error, see https://smapi.io/help
System.UnauthorizedAccessException: Access to the path 'c:\program files (x86)\steam\steamapps\common\Stardew Valley\Mods\ErrorHandler' is denied.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String , Boolean )
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String , Boolean , EnumerationOptions )
at System.IO.Enumeration.FileSystemEnumerable`1.DelegateEnumerator..ctor(FileSystemEnumerable`1 , Boolean )
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String , FindTransform , EnumerationOptions , Boolean )
at System.IO.Enumeration.FileSystemEnumerableFactory.DirectoryInfos(String , String , EnumerationOptions , Boolean )
at System.IO.DirectoryInfo.InternalEnumerateInfos(String , String , SearchTarget , EnumerationOptions )
at System.IO.DirectoryInfo.GetDirectories(String , EnumerationOptions )
at System.IO.DirectoryInfo.GetDirectories()
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.IsModSearchFolder(DirectoryInfo root, DirectoryInfo folder) in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 289
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.GetModFolders(DirectoryInfo root, DirectoryInfo folder, Boolean useCaseInsensitiveFilePaths)+MoveNext() in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 218
at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
at StardewModdingAPI.Toolkit.Framework.ModScanning.ModScanner.GetModFolders(DirectoryInfo root, DirectoryInfo folder, Boolean useCaseInsensitiveFilePaths)+MoveNext() in E:\source\_Stardew\SMAPI\src\SMAPI.Toolkit\Framework\ModScanning\ModScanner.cs:line 227
at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 )
at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 )
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 )
at StardewModdingApi.Installer.InteractiveInstaller.Run(String[] args) in E:\source\_Stardew\SMAPI\src\SMAPI.Installer\InteractiveInstaller.cs:line 448
at StardewModdingApi.Installer.Program.Main(String[] args) in E:\source\_Stardew\SMAPI\src\SMAPI.Installer\Program.cs:line 55
Game has ended. Press any key to exit.