unyt-org / uix

The UIX Framework
https://uix.unyt.org
MIT License
54 stars 3 forks source link

`uix --init` -> importmap in .datex-cache not found #135

Open ren0x opened 3 months ago

ren0x commented 3 months ago

🕗 Version & Regression Information

UIX v0.2.4 (https://cdn.unyt.org/uix/)

DATEX Core:  v0.1.3 (https://cdn.unyt.org/datex-core-js-legacy@0.1.x/)
Deno:        1.43.3
TypeScript:  5.4.5
V8:          12.4.254.13

💻 Code

uix --init

🙁 Actual behavior

error: Unable to load 'file:///home/.../project/.datex-cache/importmap.lock.json' import map

Caused by:
    No such file or directory (os error 2)

🙂 Expected behavior

Sollte nicht angezeigt werden (bzw. sollte die importmap vor dem ersten Ausführen nach .datex-cache kopiert werden).

Additional information about the issue

Man kann das Projekt mit uix problemlos starten, die Fehlermeldung ist jedoch verwirrend.

jonasstrehle commented 3 months ago

Wir konnten das Problem leider nicht ganz reproduzieren. Bricht der uix --init mit dem "No such file or directory (os error 2)"-Fehler ab oder läuft die uix app trotz Fehler los?

ren0x commented 3 months ago

Die App läuft danach, ist wie gesagt nur ein bisschen verwirrend. Hm, hatte das bei mehreren Betriebssystemen (Windows 11 (quasi clean install...)/Arch Linux) @asbng hatte das auch.