message: [cli] Fix metrics crash on some platforms
diff: import crypto from 'crypto';
  import ua from 'universal-analytics';
  -import { platform, release, userInfo } from 'os';
  import { getPlatformEnv } from '@vercel/build-utils';
  import userAgent from './ua-browser';
  @@ -16,10 +15,15 @@ export const shouldCollectMetrics =
  export const metrics = (): ua.Visitor => {
  const token =
  - typeof config.token === 'string' ? config.token : platform() + release();
  - const salt = userInfo().username;
  + typeof config.token === 'string'
  + ? config.token
  + : process.platform + process.arch;
  + const salt =
  + (process.env.USER || '') +
  + (process.env.LANG || '') +
  + (process.env.SHELL || '');
  const hash = crypto
  - .pbkdf2Sync(token, salt, 1000, 64, 'sha512')
  + .pbkdf2Sync(token, salt, 100, 64, 'sha512')
  .toString('hex')
  .substring(0, 24);
  