21:54:35.444 Executing user command: bun run build
21:54:35.714 $ astro check && astro build
21:54:36.479 /opt/buildhome/repo/webserver/node_modules/ansi-align/index.js:3
21:54:36.479 const stringWidth = require('string-width')
21:54:36.479 ^
21:54:36.480
21:54:36.480 Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/buildhome/repo/webserver/node_modules/string-width/index.js from /opt/buildhome/repo/webserver/node_modules/ansi-align/index.js not supported.
21:54:36.480 Instead change the require of /opt/buildhome/repo/webserver/node_modules/string-width/index.js in /opt/buildhome/repo/webserver/node_modules/ansi-align/index.js to a dynamic import() which is available in all CommonJS modules.
21:54:36.480 at Object.<anonymous> (/opt/buildhome/repo/webserver/node_modules/ansi-align/index.js:3:21) {
21:54:36.480 code: 'ERR_REQUIRE_ESM'
21:54:36.480 }
21:54:36.480
21:54:36.480 Node.js v18.17.1
21:54:36.491 error: script "build" exited with code 1 (SIGHUP)
21:54:36.493 Failed: Error while executing user command. Exited with error code: 1
21:54:36.502 Failed: build command exited with code: 1
21:54:37.494 Failed: error occurred while running build comman
21:54:35.444 Executing user command: bun run build
21:54:35.714 $ astro check && astro build
21:54:36.479 /opt/buildhome/repo/webserver/node_modules/ansi-align/index.js:3
21:54:36.479 const stringWidth = require('string-width')
21:54:36.479 ^
21:54:36.480
21:54:36.480 Error [ERR_REQUIRE_ESM]: require() of ES Module /opt/buildhome/repo/webserver/node_modules/string-width/index.js from /opt/buildhome/repo/webserver/node_modules/ansi-align/index.js not supported.
21:54:36.480 Instead change the require of /opt/buildhome/repo/webserver/node_modules/string-width/index.js in /opt/buildhome/repo/webserver/node_modules/ansi-align/index.js to a dynamic import() which is available in all CommonJS modules.
21:54:36.480 at Object.<anonymous> (/opt/buildhome/repo/webserver/node_modules/ansi-align/index.js:3:21) {
21:54:36.480 code: 'ERR_REQUIRE_ESM'
21:54:36.480 }
21:54:36.480
21:54:36.480 Node.js v18.17.1
21:54:36.491 error: script "build" exited with code 1 (SIGHUP)
21:54:36.493 Failed: Error while executing user command. Exited with error code: 1
21:54:36.502 Failed: build command exited with code: 1
21:54:37.494 Failed: error occurred while running build comman