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:
- Checked Local Environment: No issues when installing the app locally.
- Verified App Dependencies: All required node modules and dependencies are installed.
- Examined Asset Compilation: No missing assets or files locally.
- Reviewed Bench Logs on Frappe Cloud: The error suggests that
node_modules
is missing fromsites/assets/<<private-app-name>>/
.
Possible Causes (Need Confirmation)
- Does Frappe Cloud automatically run
bench build
andbench 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!