The issue
Commit f6bbd3a removed and untracked /dist/ folder.
npm quartz build now fails with the error:
The module "./dist/index.js" was not found on the file system
Versions
@quartz-community/utils@0.1.1
Quartz Version: 5.0.0
node Version: v24.18.0
npm version: 11.16.0
OS: macOS Tahoe 26.5.2 (25F84)
Error output
Quartz v5.0.0
✘ [ERROR] Could not resolve "@quartz-community/utils"
quartz/util/path.ts:25:7:
25 │ } from "@quartz-community/utils"
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
The module "./dist/index.js" was not found on the file system:
node_modules/@quartz-community/utils/package.json:29:16:
29 │ "import": "./dist/index.js"
╵ ~~~~~~~~~~~~~~~~~
You can mark the path "@quartz-community/utils" as external to exclude it from the bundle, which
will remove this error and leave the unresolved path in the bundle.
✘ [ERROR] Could not resolve "@quartz-community/utils"
quartz/util/path.ts:25:7:
25 │ } from "@quartz-community/utils"
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~
The module "./dist/index.js" was not found on the file system:
node_modules/@quartz-community/utils/package.json:29:16:
29 │ "import": "./dist/index.js"
╵ ~~~~~~~~~~~~~~~~~
You can mark the path "@quartz-community/utils" as external to exclude it from the bundle, which
will remove this error and leave the unresolved path in the bundle.
✘ [ERROR] Build failed with 1 error:
quartz/util/path.ts:25:7: ERROR: Could not resolve "@quartz-community/utils" [plugin inline-script-loader]
quartz/plugins/emitters/componentResources.ts:6:28:
6 │ import spaRouterScript from "../../components/scripts/spa.inline"
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✘ [ERROR] Build failed with 1 error:
quartz/util/path.ts:25:7: ERROR: Could not resolve "@quartz-community/utils" [plugin inline-script-loader]
quartz/plugins/emitters/componentResources.ts:8:26:
8 │ import popoverScript from "../../components/scripts/popover.inline"
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failed to build Quartz. Check for syntax errors in your configuration or plugins.
Reason: Build failed with 2 errors:
quartz/plugins/emitters/componentResources.ts:6:28: ERROR: [plugin: inline-script-loader] Build failed with 1 error:
quartz/util/path.ts:25:7: ERROR: Could not resolve "@quartz-community/utils"
quartz/plugins/emitters/componentResources.ts:8:26: ERROR: [plugin: inline-script-loader] Build failed with 1 error:
quartz/util/path.ts:25:7: ERROR: Could not resolve "@quartz-community/utils"
The issue
Commit f6bbd3a removed and untracked
/dist/folder.npm quartz buildnow fails with the error:Versions
@quartz-community/utils@0.1.1
Quartz Version: 5.0.0
node Version: v24.18.0
npm version: 11.16.0
OS: macOS Tahoe 26.5.2 (25F84)
Error output