Hallo zusammen,
leider bekommen wir aktuell beim Starten unseres CPs einen Fehler:
Code
Sending 500 ("Server Error") response:
TypeError: Cannot read property 'authenticated' of undefined
at module.exports (/var/www/html/ucp2/api/policies/userInfo.js:6:21)
at routeTargetFnWrapper (/var/www/html/ucp2/node_modules/sails/lib/router/bind.js:181:5)
at callbacks (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:164:37)
at param (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:138:11)
at pass (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:145:5)
at nextRoute (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:100:7)
at callbacks (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:167:11)
at module.exports (/var/www/html/ucp2/node_modules/sails/lib/hooks/cors/clear-headers.js:14:3)
at routeTargetFnWrapper (/var/www/html/ucp2/node_modules/sails/lib/router/bind.js:181:5)
at callbacks (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:164:37)
at param (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:138:11)
at pass (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:145:5)
at nextRoute (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:100:7)
at callbacks (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:167:11)
at sails.router.bind._middlewareType (/var/www/html/ucp2/node_modules/sails/lib/hooks/csrf/index.js:115:20)
at routeTargetFnWrapper (/var/www/html/ucp2/node_modules/sails/lib/router/bind.js:181:5)
at callbacks (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:164:37)
at param (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:138:11)
at pass (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:145:5)
at nextRoute (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:100:7)
at callbacks (/var/www/html/ucp2/node_modules/@sailshq/express/lib/router/index.js:167:11)
at _addResViewMethod (/var/www/html/ucp2/node_modules/sails/lib/hooks/views/res.view.js:372:3)
Alles anzeigen
Wir haben nun schon sämtliche node Versionen getestet, alles leider ohne Erfolg.
Vielleicht hat einer von euch noch eine Ahnung??