Matrix OS Execution Problem

when i run the matrix os i get this error at the end
how i can fix it ??

_FIREBASE WARNING: set at /users/5821f14fd7cbc01f005aaa21/devices/d979c171a110/online failed: permission_denied _
npm WARN clock7.matrix@1.0.0 No description
npm WARN clock7.matrix@1.0.0 No repository field.
Local app update failed undefined

This is a known issue which has been addressed in the latest matrix-firebase

npm reinstall matrix-firebase from your matrix-os folder


~/matrix-os $ npm reinstall matrix-firebase

Usage: npm

where is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
help, help-search, i, init, install, install-test, it, link,
list, ln, logout, ls, outdated, owner, pack, ping, prefix,
prune, publish, rb, rebuild, repo, restart, root, run,
run-script, s, se, search, set, shrinkwrap, star, stars,
start, stop, t, tag, team, test, tst, un, uninstall,
unpublish, unstar, up, update, v, version, view, whoami

npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview

Specify configs in the ini-formatted file:
or on the command line via: npm --key value
Config info can be viewed via: npm help config

npm@3.10.3 /usr/local/lib/node_modules/npm

and when i want to run matrix os

~/matrix-os $ sudo NODE_ENV=rc node index.js

Environment Selected: rc
Loading Core Matrix Files
Loading… device
throw err;

Error: Cannot find module 'mic’
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object. (/home/pi/matrix-os/lib/device/drivers/mic.js:7:11)
at Module._compile (module.js:556:32)
at Object.Module._extensions…js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)