Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I got around the issue by installing nodejs and npm using these three commands:

sudo apt-get install curl python-software-properties
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install nodejs

Not entirely sure why sudo apt-get install npm was problematic. Hopefully that helps someone other than myself!