Error While Installing Private App on Frappe Cloud (Works Locally) - Version 14

I am facing an issue while installing my private app on Frappe Cloud (Version 14). The app works perfectly on my local bench, but during installation on Frappe Cloud, I receive the following error:

cp: cannot stat 'sites/./assets/<<private-app-name>>/node_modules': No such file or directory
exit status 1

Environment Details:

  • Frappe Version: 14
  • Frappe Cloud Deployment
  • Local Setup: Works fine on my bench installation.

Troubleshooting Done So Far:

  1. Checked Local Environment: No issues when installing the app locally.
  2. Verified App Dependencies: All required node modules and dependencies are installed.
  3. Examined Asset Compilation: No missing assets or files locally.
  4. Reviewed Bench Logs on Frappe Cloud: The error suggests that node_modules is missing from sites/assets/<<private-app-name>>/.

Possible Causes (Need Confirmation)

  • Does Frappe Cloud automatically run bench build and bench setup requirements?
  • Is there a step missing where node_modules should be copied manually?
  • Could it be a permissions issue preventing the creation of required files?

Request for Help

Has anyone else encountered this issue when deploying a Version 14 private app to Frappe Cloud? Any guidance on how to resolve this would be greatly appreciated!

Thanks in advance! :rocket: