I was trying to install Haraka in my digital ocean droplet that runs with Ubuntu 20.04.4 LTS. I tried installating multiple times but stuck at same point (and installation gets killed after some time) that is
( ##################) ⠏ reify:moment: http fetch GET 200 https://registry.npmjs.org/moment/-/moment-2.29.4.tgz 7284ms (cache miss)
npm install -g Haraka as shown here: http://haraka.github.io/ . This command worked on my Ubuntu server in my virtual box with same version.
I tried doing
apt update && apt upgrade , I rebooted it, done
apt autoremove and even cleaned npm cahce using
npm cache clear --force but still same problem.
Kindly, provide a solution.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
What version of
npmare you running on your local Ubuntu virtual machine?
What I could suggest is trying to upgrade your
npmversion on your Droplet so that it matches the on your local virtual machine, eg:
Make sure to change the
8.5.1part so that it matches the version that you are using locally.
Let me know how it goes!