Hello everyone.
I ran into a bit of trouble while trying to install erpnext on my server (Ubuntu server). Installation on a virtual machine was successful using the easy way (setup_frappe.sh), but many errors occurred when I tried to install on a server, I’ll try to give as many details as possible and I appreciate any help.
The installation was stopped due to an error:
bench.utils.CommandFailedError: npm install socket.io redis express superagent cookie
Reading the npm-debug.log I found that the installer was unable to fetch socket.io from the registry.
According to this thread: [solved] V6 upgrade errors the solution was to purge the node.js and npm and reinstall it (due to old versions) and I did just that. I removed the previously installed bench and frappe folders and tried to run the script again, thus causing a new error in the beginning of the installation:
The following packages have unmet dependencies:
nodejs: Conflicts: npm
E: unable to correct problems, you have held broken packages