
> rest-express@1.0.0 build:kernel
> bash script/build-unikernel.sh

═══════════════════════════════════════════════════════════════
  AeThex OS - Unikernel Builder
  Target: Nanos Unikernel (Bootable Image)
═══════════════════════════════════════════════════════════════
[*] Detected Windows Environment (MinGW/Git Bash).
[*] Switching to WSL Context...
qemu-system-x86_64: terminating on signal 15 from pid 3662812 ()
�═════════════════════════════════════════
  AeThex OS - Unikernel Builder
  Target: Nanos Unikernel (Bootable Image)
═══════════════════════════════════════════════════════════════
[*] Using OPS binary: /home/mrpiglr/.ops/bin/ops
[*] Updating OPS package list...
[*] Building Unikernel Image...
    Running: /home/mrpiglr/.ops/bin/ops pkg load eyberg/node:v18.12.1 ...
warning: overwriting existing file "/dist/index.js" hostpath old: dist/index.js new: "/mnt/c/Users/PCOEM/AeThexOS/AeThex-OS//dist/index.js"
running local instance
booting /home/mrpiglr/.ops/images/aethex-kernel-v1 ...
[0.563567] en1: assigned 10.0.2.15
⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217
[dotenv@17.2.3] injecting env (8) from .env -- tip: 🔐 prevent building .env in docker: https://dotenvx.com/prebuild
[dotenv@17.2.3] injecting env (0) from .env -- tip: ⚙️  write to custom object with { processEnv: myObject }
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
7:46:19 AM [websocket] WebSocket server initialized
7:46:19 AM [express] serving on port 8080
7:46:19 AM [websocket] WebSocket available at ws://localhost:8080/socket.io
[2.414827] en1: assigned FE80::2CC3:44FF:FEF8:D3F3
(node:2) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

[✓] Build Complete.
    Image: ~/.ops/images/aethex-kernel-v1

To boot the kernel:
    /home/mrpiglr/.ops/bin/ops run aethex-kernel-v1

To deploy to AWS/GCP:
    /home/mrpiglr/.ops/bin/ops image create -c ops.json -i aethex-kernel-v1 -t aws
