Thanks for the report, the logs helped a lot. It's not really the $lib alias: Pinokio starts the build in g:\... (lowercase), the files resolve as G:\..., and Vite thinks they're on two different drives. Hence the weird path.
I pushed a fix to the launcher that runs the build from the real folder path. To get it:
- revert your edit to hostUi.ts, that's what gives the black screen: git -C app checkout -- frontend/src/lib/plugin-api/hostUi.ts (from G:\pinokio\api\potionui-pinokio.git)
- git pull in that same folder, or just reinstall PotionUI in Pinokio
- Install, then Start
Let me know if it still breaks.
@sharp777Build error on Windows due to import.meta.glob with path alias / Blank UI screen on runtime Hi, I'm encountering a blocking issue when trying to build and run the application on a Windows machine. 1. The Original Build Error When running npm run build from app/frontend, the build fails because Rollup cannot resolve the $lib alias correctly within import.meta.glob inside `src/lib/plugin-api/host...
