
> build
> vite build

vite v8.0.10 building client environment for production...
[2K
transforming...✓ 575 modules transformed.
✗ Build failed in 326ms
error during build:
Build failed with 1 error:

[plugin vite:css] /Users/kelvinfirste/Pictures/AI image generator/CRM main/Firste CRM/resources/css/app.css
Failed to load PostCSS config: Failed to load PostCSS config (searchPath: /Users/kelvinfirste/Pictures/AI image generator/CRM main/Firste CRM): [ReferenceError] module is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/Users/kelvinfirste/Pictures/AI image generator/CRM main/Firste CRM/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
ReferenceError: module is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/Users/kelvinfirste/Pictures/AI image generator/CRM main/Firste CRM/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
    at file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/postcss.config.js?t=1777249664223:1:1
    at ModuleJob.run (node:internal/modules/esm/module_job:329:25)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:644:26)
    at async req (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/vite/dist/node/chunks/node.js:19572:12)
    at async Object.search (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/vite/dist/node/chunks/node.js:19390:24)
    at aggregateBindingErrorsIntoJsError (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/rolldown/dist/shared/error-DL-e8-oE.mjs:48:18)
    at unwrapBindingResult (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/rolldown/dist/shared/error-DL-e8-oE.mjs:18:128)
    at #build (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/rolldown/dist/shared/rolldown-build-DSxL8qiP.mjs:3317:34)
    at async buildEnvironment (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/vite/dist/node/chunks/node.js:33018:64)
    at async Object.build (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/vite/dist/node/chunks/node.js:33440:19)
    at async Object.buildApp (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/vite/dist/node/chunks/node.js:33437:153)
    at async CAC.<anonymous> (file:///Users/kelvinfirste/Pictures/AI%20image%20generator/CRM%20main/Firste%20CRM/node_modules/vite/dist/node/cli.js:778:3) {
  errors: [Getter/Setter]
}
