You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throw typeError(MSG_INVALID_SECRET);
TypeError: secret must be a string or buffer
at typeError (/home/pi/cncjs-pendant-boilerplate-master/node_modules/jwa/index.js:16:10)
at Object.sign (/home/pi/cncjs-pendant-boilerplate-master/node_modules/jwa/index.js:32:13)
at Object.jwsSign [as sign] (/home/pi/cncjs-pendant-boilerplate-master/node_modules/jws/lib/sign-stream.js:23:24)
at Object.module.exports [as sign] (/home/pi/cncjs-pendant-boilerplate-master/node_modules/jsonwebtoken/sign.js:154:16)
at generateAccessToken (/home/pi/cncjs-pendant-boilerplate-master/index.js:10:23)
at module.exports (/home/pi/cncjs-pendant-boilerplate-master/index.js:42:19)
at createServer (/home/pi/cncjs-pendant-boilerplate-master/bin/cncjs-pendant-boilerplate:62:5)
at Object. (/home/pi/cncjs-pendant-boilerplate-master/bin/cncjs-pendant-boilerplate:156:5)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
The text was updated successfully, but these errors were encountered:
Getting error when running from sudo and manually setting secret.
root@cncjs-pi:~#
node /home/pi/cncjs-pendant-boilerplate-master/bin/cncjs-pendant-boilerplate -s 'HSujksldfxxxxxxxSKJDF' --port /dev/ttyUSB0
The text was updated successfully, but these errors were encountered: