Sitespeed.io Mac Installation Fix

  1. Make sure that npm is compatible with Node.js. If not uninstall using npm uninstall -g npm and then reinstall using the Node.js website selecting the most recent version.
    1. This is a common issue with installing Node.js with Homebrew
  2. If you are having problems with permission on global node_modules folder check permissions.
    1. See who owns the directory ls -la /usr/local/lib/
    2. return your current username: id -un
    3. Change the owner and group sudo chown -R [owner]:[owner] /usr/local/lib/node_modules
  3. Uninstall and reinstall sitepseed.io using sudo
    1. npm uninstall -g sitespeed.io
    2. sudo npm install -g sitespeed.io
  4. Test with sitespeed.io https://sitespeed.io in a home child directory
    1. Upgrade Chrome if problems with the driver

Leave a Reply

Your email address will not be published. Required fields are marked *