Hi few days ago I had created a droplet in sg, one thing I notice is when I run npm install it get stucks on oarticular model , it taks like an hour coule not even finished , I encounter in my laravel and vuecli app.I used ny server before and deploy vuecli app didnot encounter this issue , are there any troubleshooting I can make thanks.
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-centos-8 this is how i install node via os package ? i tried to delete the node_model folder start again but it did not help thanks
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!
Hi @stupidboy,
I had a similar problem. The reason was wrongly configured proxy and because of that npm was unable to download packages.
So your best bet is to see the output of
npm install --verbose
and identify the problem. Most probably the issue is - permissions are not sufficient for npm to modify files.
Regards, KFSys
Mine was getting stuck at 70% of npm or yarn prod. but restarting ubuntu sudo reboot solved it
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.