Rasberry pi NODE_ENV=rc node index.js trouble

Environment Selected: rc
Loading Core Matrix Files
Loading… device
Loading… event
Loading… service
Dependencies up to date.
API Error: 400 - Missing device_secret parameter.
Incorrect or missing registration information. This device is not correctly configured. Please add MATRIX_DEVICE_ID and MATRIX_DEVICE_SECRET variables. If you do not have these available, you can get them by issuing matrix register device with matrix CLI.

you have not followed in the installation information correctly.

Follow the instructions on this page and you will not have that problem.