Hello, could you please help me? I try to open my web page with Mi connector, but I can't open it. I have this error log. Lg connector on the same Rassberrypi works fine. Thank you for your help.
Cannot read property 'token' of undefined
TypeError: Cannot read property 'token' of undefined
at uniqueTokenEnabled (/usr/src/app/util/csrf.js:159:32)
at csrf (/usr/src/app/util/csrf.js:112:9)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13)
at /usr/src/app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12)
at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
at cookieParser (/usr/src/app/node_modules/cookie-parser/index.js:71:5)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13)
at /usr/src/app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12)
at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
at SessionStrategy.strategy.pass (/usr/src/app/node_modules/passport/lib/middleware/authenticate.js:343:9)
at SessionStrategy.authenticate (/usr/src/app/node_modules/passport/lib/strategies/session.js:75:10)
at attempt (/usr/src/app/node_modules/passport/lib/middleware/authenticate.js:366:16)
Hello, could you please help me? I try to open my web page with Mi connector, but I can't open it. I have this error log. Lg connector on the same Rassberrypi works fine. Thank you for your help.
Cannot read property 'token' of undefined TypeError: Cannot read property 'token' of undefined at uniqueTokenEnabled (/usr/src/app/util/csrf.js:159:32) at csrf (/usr/src/app/util/csrf.js:112:9) at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13) at /usr/src/app/node_modules/express/lib/router/index.js:284:7 at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12) at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10) at cookieParser (/usr/src/app/node_modules/cookie-parser/index.js:71:5) at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13) at /usr/src/app/node_modules/express/lib/router/index.js:284:7 at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12) at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10) at SessionStrategy.strategy.pass (/usr/src/app/node_modules/passport/lib/middleware/authenticate.js:343:9) at SessionStrategy.authenticate (/usr/src/app/node_modules/passport/lib/strategies/session.js:75:10) at attempt (/usr/src/app/node_modules/passport/lib/middleware/authenticate.js:366:16)