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

'views' express option crash #5

Open
JimmyF4 opened this issue Oct 26, 2022 · 0 comments
Open

'views' express option crash #5

JimmyF4 opened this issue Oct 26, 2022 · 0 comments

Comments

@JimmyF4
Copy link
Contributor

JimmyF4 commented Oct 26, 2022

'views' express option crash when we provide an array.

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array

The option should accept an array: http://expressjs.com/fr/api.html#app.set

@JimmyF4 JimmyF4 changed the title views' express option crash 'views' express option crash Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant