You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the video, he is able to run the command bench get-app hrms normally, but when I execute it the same way as in the video, inside the container, I get this "error" at the point where the command bench build --app hrms is executed. The error is the following:
$ bench build --app hrms
[Errno 18] Invalid cross-device link: 'tmp19d9ca7e8fb7183ead065c2ada05886f57e730e14e68780494ee0406' -> './assets/frappe'
Cannot link /home/frappe/frappe-bench/apps/frappe/frappe/public to ./assets/frappe
[Errno 2] No such file or directory: 'tmp8646151b01c74f8aaf97045b972c74ca0d3e8808ef5cde2c73e0a602' -> './assets/frappe/node_modules'
Cannot link /home/frappe/frappe-bench/apps/frappe/node_modules to ./assets/frappe/node_modules
[Errno 18] Invalid cross-device link: 'tmpb48866462f94554cab097551d7c1c912c34e585ae479928ae92c3a51' -> './assets/erpnext'
Cannot link /home/frappe/frappe-bench/apps/erpnext/erpnext/public to ./assets/erpnext
[Errno 2] No such file or directory: 'tmpa339415721de17317f6bc759a7b3eb3eca69d2d0644cc50f3bde6366' -> './assets/erpnext/node_modules'
Cannot link /home/frappe/frappe-bench/apps/erpnext/node_modules to ./assets/erpnext/node_modules
[Errno 18] Invalid cross-device link: 'tmp98fd929166122df0c59ab00e523cc8975f9a877573fc0520c225f1d0' -> './assets/hrms'
Cannot link /home/frappe/frappe-bench/apps/hrms/hrms/public to ./assets/hrms
[Errno 2] No such file or directory: 'tmp20bdf49644438b841dbaeaef20dfbdaa92aede78e609b70df867e275' -> './assets/hrms/node_modules'
Cannot link /home/frappe/frappe-bench/apps/hrms/node_modules to ./assets/hrms/node_modules
✔ Application Assets Linked
After that, everything works normally until the end. The problem is that after running the upgrade command, which forces the migrate for the sites, the assets of my project are lost...
I noticed that inside the assets folder, after running get-app, the symbolic links for ERPNext and Frappe are lost.
Can anyone help me? Can you tell me if this is related to my site losing the assets?
The way I solved it was by running the build manually using the --hard-link option.
P.S. I ran the install-app command.
To Reproduce 📃
Steps to reproduce the behavior:
Run bench build --app hrms inside the backend or frontend container
See error
Expected behavior 📈
A clear and concise description of what you expected to happen.
Screenshots 🔮
If applicable, add screenshots to help explain your problem.
OS (please complete the following information): 🌀
Docker
Version Information
Can be found out by running bench version in your respective bench folder.
Bench Branch: 5.23.0
Frappe Version: IDK
ERPNext Version: image: frappe/erpnext:v15.45.4
The text was updated successfully, but these errors were encountered:
Issue: Bug report
Please make sure your issue is reproducible on the latest bench version. The currently supported branches are:
Do the checklist before filing an issue:
Describe the bug 📉
I am setting up ERPNext to be able to use HRMS, and for this, I am following the documentation of both.
First, I am using this installation method for ERPNext: https://github.com/frappe/bench?tab=readme-ov-file#easy-install-script.
After I was able to run the containers using this installation method, I followed this tutorial here: https://www.youtube.com/watch?v=K3rwp-3UM_E&ab_channel=syncbricks, where it shows how to install HRMS in ERP within Docker.
In the video, he is able to run the command
bench get-app hrms
normally, but when I execute it the same way as in the video, inside the container, I get this "error" at the point where the commandbench build --app hrms
is executed. The error is the following:After that, everything works normally until the end. The problem is that after running the upgrade command, which forces the migrate for the sites, the assets of my project are lost...
I noticed that inside the assets folder, after running get-app, the symbolic links for ERPNext and Frappe are lost.
Can anyone help me? Can you tell me if this is related to my site losing the assets?
The way I solved it was by running the build manually using the --hard-link option.
P.S. I ran the install-app command.
To Reproduce 📃
Steps to reproduce the behavior:
bench build --app hrms
inside the backend or frontend containerExpected behavior 📈
A clear and concise description of what you expected to happen.
Screenshots 🔮
If applicable, add screenshots to help explain your problem.
OS (please complete the following information): 🌀
Version Information
Can be found out by running
bench version
in your respective bench folder.The text was updated successfully, but these errors were encountered: