Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: useragent.version.split is not a function #181

Open
jfoclpf opened this issue May 23, 2022 · 0 comments
Open

TypeError: useragent.version.split is not a function #181

jfoclpf opened this issue May 23, 2022 · 0 comments
Labels

Comments

@jfoclpf
Copy link
Owner

jfoclpf commented May 23, 2022

This error is popping up several times in the error log

at Layer.handle [as handle_request] (/var/www/autocosts.prod/node_modules/express/lib/router/layer.js:95:5)
78|autocos |     at /var/www/autocosts.prod/node_modules/express/lib/router/index.js:281:22
78|autocos |     at Function.process_params (/var/www/autocosts.prod/node_modules/express/lib/router/index.js:335:12)
78|autocos |     at next (/var/www/autocosts.prod/node_modules/express/lib/router/index.js:275:10)
78|autocos | 03-05-2022: TypeError: useragent.version.split is not a function
78|autocos |     at isCSP3compatible (/var/www/autocosts.prod/bin/server/renderPageCC.js:168:48)
78|autocos |     at Object.render (/var/www/autocosts.prod/bin/server/renderPageCC.js:67:34)
78|autocos |     at /var/www/autocosts.prod/bin/server.js:279:20
78|autocos |     at Layer.handle [as handle_request] (/var/www/autocosts.prod/node_modules/express/lib/router/layer.js:95:5)
78|autocos |     at next (/var/www/autocosts.prod/node_modules/express/lib/router/route.js:137:13)
78|autocos |     at Route.dispatch (/var/www/autocosts.prod/node_modules/express/lib/router/route.js:112:3)
78|autocos |     at Layer.handle [as handle_request] (/var/www/autocosts.prod/node_modules/express/lib/router/layer.js:95:5)
78|autocos |     at /var/www/autocosts.prod/node_modules/express/lib/router/index.js:281:22
78|autocos |     at param (/var/www/autocosts.prod/node_modules/express/lib/router/index.js:354:14)
78|autocos |     at param (/var/www/autocosts.prod/node_modules/express/lib/router/index.js:365:14)
@jfoclpf jfoclpf added the bug label May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant