Hi,
I an trying to install helpdesk. I already have ERPnext installed. Following is the issue i am getting.
Running build command for helpdesk
warning …/…/…/package.json: No license field
$ cd desk && yarn build
warning …/…/…/…/package.json: No license field
$ vite build --base=/assets/helpdesk/desk/ && yarn copy-html-entry
vite v4.1.4 building for production…
✓ 142 modules transformed.
Could not resolve “…/…/…/frappe/frappe/public/js/lib/posthog.js” from “src/telemetry.ts”
file: /home/frappe/myfrappe/apps/helpdesk/desk/src/telemetry.ts
error during build:
RollupError: Could not resolve “…/…/…/frappe/frappe/public/js/lib/posthog.js” from “src/telemetry.ts”
at error (file:///home/frappe/myfrappe/apps/helpdesk/desk/node_modules/rollup/dist/es/shared/node-entry.js:2105:30)
at ModuleLoader.handleInvalidResolvedId (file:///home/frappe/myfrappe/apps/helpdesk/desk/node_modules/rollup/dist/es/shared/node-entry.js:23630:24)
at file:///home/frappe/myfrappe/apps/helpdesk/desk/node_modules/rollup/dist/es/shared/node-entry.js:23592:26
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.
Error: Command failed: yarn build
at checkExecSyncError (node:child_process:861:11)
at execSync (node:child_process:932:15)
at run_build_command_for_apps (/home/frappe/myfrappe/apps/frappe/esbuild/esbuild.js:433:5)
at /home/frappe/myfrappe/apps/frappe/esbuild/esbuild.js:88:35
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 721715,
stdout: null,
stderr: null
}
clean: postcss.plugin was deprecated. Migration guide:
PostCSS 8.0: Plugin migration guide—Martian Chronicles, Evil Martians’ team blog
Done in 13.63s.
$ supervisorctl restart myfrappe-workers: myfrappe-web:
myfrappe-workers:myfrappe-frappe-schedule: stopped
myfrappe-workers:myfrappe-frappe-long-worker-0: stopped
myfrappe-workers:myfrappe-frappe-default-worker-0: stopped
myfrappe-workers:myfrappe-frappe-short-worker-0: stopped
myfrappe-web:myfrappe-node-socketio: stopped
myfrappe-web:myfrappe-frappe-web: stopped
myfrappe-workers:myfrappe-frappe-schedule: started
myfrappe-workers:myfrappe-frappe-default-worker-0: started
myfrappe-workers:myfrappe-frappe-short-worker-0: started
myfrappe-workers:myfrappe-frappe-long-worker-0: started
myfrappe-web:myfrappe-frappe-web: started
myfrappe-web:myfrappe-node-socketio: started
INFO: A newer version of bench is available: 5.15.1 → 5.19.0
Due to this. I cannot install-app helpdesk.
Can anyone please help ?