Cannot find module 'ansi'

Hello, know post is closed but still. Had the same problem.
Iv deleted nodejs and npm, and installed them not from standart ubuntu reppos but with this ones: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

After doing:
sudo apt-get remove nodejs npm
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
Color picker works fine after reinstalling it.

Related Articles

Comments