Ceveos / sbox-minimal-extended

sbox-minimal-extended
MIT License
8 stars 2 forks source link

Error: 'Exception setting "Path": "The directory name 'modules' does not exist. (Parameter 'Path')"' #11

Open SebbeJohansson opened 2 years ago

SebbeJohansson commented 2 years ago

How to reproduce:

  1. cd steamapps/common/sbox/
  2. git clone https://github.com/Ceveos/minimal-extended.git workspace && cd workspace
  3. .\watcher.ps1 -create, say yes to prompt to download SandboxPlus
  4. (optional) git clone https://github.com/wiremod/wirebox.git modules/wirebox (and any other modules you want)
  5. .\watcher.ps1 your-gamemode -build

Step 5 results in "Exception setting "Path": "The directory name 'modules' does not exist. (Parameter 'Path')"".

image

Device info: `System Information report written at: 09/22/21 22:37:07 System Name: DESKTOP-R22M860 [System Summary]

Item Value
OS Name Microsoft Windows 11 Pro
Version 10.0.22000 Build 22000
Other OS Description Not Available
OS Manufacturer Microsoft Corporation
System Name DESKTOP-R22M860 System Manufacturer Dell Inc.
System Model XPS 15 9500 System Type x64-based PC
System SKU 097D
Processor Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz, 2400 Mhz, 8 Core(s), 16 Logical Processor(s) BIOS Version/Date Dell Inc. 1.9.1, 2021-08-11 SMBIOS Version 3.2 Embedded Controller Version 255.255 BIOS Mode UEFI
BaseBoard Manufacturer Dell Inc.
BaseBoard Product 0XWT2F
BaseBoard Version A02 Platform Role Mobile
Secure Boot State On
PCR7 Configuration Elevation Required to View
Windows Directory C:\WINDOWS
System Directory C:\WINDOWS\system32 Boot Device \Device\HarddiskVolume1 Locale United States
Hardware Abstraction Layer Version = "10.0.22000.1"
Username DESKTOP-R22M860\sebas
Time Zone W. Europe Summer Time
Installed Physical Memory (RAM) 32,0 GB Total Physical Memory 31,8 GB Available Physical Memory 12,0 GB Total Virtual Memory 44,8 GB Available Virtual Memory 12,3 GB Page File Space 13,0 GB Page File C:\pagefile.sys Kernel DMA Protection On
Virtualisation-based security Not enabled Device Encryption Support Elevation Required to View
Hyper-V - VM Monitor Mode Extensions Yes Hyper-V - Second Level Address Translation Extensions Yes Hyper-V - Virtualisation Enabled in Firmware Yes Hyper-V - Data Execution Protection Yes `

Temporary solution:

  1. Edit .\watcher.ps1.
  2. Change $watcher.Path to "C:\Program Files (x86)\Steam\steamapps\common\sbox\workspace\modules".
  3. Rerun script.
bellum128 commented 2 years ago

Getting same issue with slightly different phrasing: Exception setting "Path": "The directory name modules is invalid."