#This error shows up whenever I try to build my app.

1 messages · Page 1 of 1 (latest)

ripe ocean
#
18:38:43 [build] output: "static"
18:38:43 [build] directory: C:\Windows.old\Users\Coms\AAA_WORKSPACE\luad-astro\luad\dist\
18:38:43 [build] Collecting build info...
18:38:43 [build] ✓ Completed in 142ms.
18:38:43 [build] Building static entrypoints...
18:38:45 [WARN] [vite]
header.webp referenced in C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/src/layouts/Homepage.astro?astro&type=style&index=0&lang.css didn't resolve at build time, it will remain unchanged to be resolved at runtime
18:38:45 [build] ✓ Completed in 2.39s.

 building client (vite)
18:38:45 [vite] ✓ 0 modules transformed.
18:38:45 [ERROR] [vite] [astro:build] The argument 'path' must be a string or Uint8Array without null bytes. Received 'C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\luad-astro\\luad\\\x00astro-entry:C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\lua...
file: astro-entry:C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/src/layouts/Homepage.astro
The argument 'path' must be a string or Uint8Array without null bytes. Received 'C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\luad-astro\\luad\\\x00astro-entry:C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\lua...
  Stack trace:
    at Object.stat (node:fs:1595:10)
    at find (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:13712:2)
    at async loadTsconfigJsonForFile (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:14788:24)
    at async cachedFullCompilation (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/astro/dist/vite-plugin-astro/compile.js:13:21)
    at async transform (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/rollup/dist/es/shared/node-entry.js:17540:16)
PS C:\Windows.old\Users\Coms\AAA_WORKSPACE\luad-astro\luad>

Im not exactly too sure what other files to send, as I dont understand what this error even means.

#

Update: I managed to remove some of the errors by just commenting them out for now. I just want it to build the site already.

Result (20 files):
- 0 errors
- 0 warnings
- 2 hints

18:52:50 [build] output: "static"
18:52:50 [build] directory: C:\Windows.old\Users\Coms\AAA_WORKSPACE\luad-astro\luad\dist\
18:52:50 [build] Collecting build info...
18:52:50 [build] ✓ Completed in 154ms.
18:52:50 [build] Building static entrypoints...
18:52:52 [build] ✓ Completed in 2.27s.

 building client (vite)
18:52:52 [vite] ✓ 0 modules transformed.
18:52:52 [ERROR] [vite] [astro:build] The argument 'path' must be a string or Uint8Array without null bytes. Received 'C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\luad-astro\\luad\\\x00astro-entry:C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\lua...
file: astro-entry:C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/src/layouts/Homepage.astro
The argument 'path' must be a string or Uint8Array without null bytes. Received 'C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\luad-astro\\luad\\\x00astro-entry:C:\\Windows.old\\Users\\Coms\\AAA_WORKSPACE\\lua...
  Stack trace:
    at Object.stat (node:fs:1595:10)
    at find (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:13712:2)
    at async loadTsconfigJsonForFile (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/vite/dist/node/chunks/dep-R0I0XnyH.js:14788:24)
    at async cachedFullCompilation (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/astro/dist/vite-plugin-astro/compile.js:13:21)
    at async transform (file:///C:/Windows.old/Users/Coms/AAA_WORKSPACE/luad-astro/luad/node_modules/rollup/dist/es/shared/node-entry.js:17540:16)
PS C:\Windows.old\Users\Coms\AAA_WORKSPACE\luad-astro\luad>