Skip to content

Tool Execution Fails With OS Error 2 (1Axen/Blink) #112

Description

@Fastering18

Bug Description

When running a tool managed by Rokit (blink), the Rokit proxy crashes with an os error 2 (The system cannot find the file specified) error. Activating RUST_BACKTRACE=1 reveals a crash.

Environment

  • OS: Windows 11 (PowerShell)
  • Tool: 1Axen/blink (v0.18.8)
  • Rokit Proxy Path: C:\Users\XXX\.rokit\bin\blink.exe

Steps to Reproduce

  1. Install blink via Rokit: rokit add 1Axen/blink && rokit install
  2. Attempt to run blink in the project directory.

Terminal Output

PS D:\Projek\work\XXX> blink
ERROR The system cannot find the file specified. (os error 2)
PS D:\Projek\work\XXX> where.exe blink
C:\Users\XXX\.rokit\bin\blink.exe
PS D:\Projek\work\XXX> $env:RUST_BACKTRACE=1; blink
ERROR The system cannot find the file specified. (os error 2)

Stack backtrace:
   0: <unknown>
   1: onig_unicode_define_user_property
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: onig_unicode_define_user_property
   8: BaseThreadInitThunk
   9: RtlUserThreadStart
PS D:\Projek\work\XXX> 

my rokit.toml:

[tools]
rojo = "rojo-rbx/rojo@7.6.1"
selene = "Kampfkarren/selene@0.31.0"
stylua = "JohnnyMorganz/StyLua@2.5.2"
blink = "1Axen/blink@0.18.8"

however for rojo it works fine:

PS D:\Projek\work\XXX> where.exe rojo
C:\Users\#\.rokit\bin\rojo.exe
C:\Users\#\.pesde\bin\rojo.exe
PS D:\Projek\work\XXX> rojo --version
Rojo 7.6.1
PS D:\Projek\work\XXX> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions