We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting "TypeError: Cannot set properties of undefined (setting 't')" since there is no app.locals in onModuleInit (using pug).
app.locals
onModuleInit
pug
app.useStaticAssets({ root: join(__dirname, 'public') }); app.setViewEngine({ engine: { pug: require('pug'), }, templates: join(__dirname, 'views'), });
not needed
npm
The text was updated successfully, but these errors were encountered:
small repro would be nice
Sorry, something went wrong.
How? A whole repo is needed, it's not just specific lines of code to cause this. Edited my question to be more specific.
No branches or pull requests
Describe the bug
Getting "TypeError: Cannot set properties of undefined (setting 't')" since there is no
app.locals
inonModuleInit
(usingpug
).Reproduction
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: