-
我发现比我想象要长,打算把实战部分拆分成中和下来讲解。
通过[上篇](https://github.com/jiayisheji/blog/issues/18)学习,相信大家对 `Nest` 有大概印象,但是你还是看不出它有什么特别的地方,下篇将为你介绍项目实战中`Nest`如何使用各种特性和一些坑和解决方案。[源码](https://github.com/jiayisheji/nest-c…
-
The NestJS Mailer module has support for using Handlebars/Pugs/EJS. However... this is a different View-engine instance than what is being used to return a view from a controller. This results in the …
-
I'm using Dcoker to deploy my nestjs application.
Error:
> stock-in-cloud@0.0.1 start:prod
> node dist/main
/user/src/app/server/node_modules/@css-inline/css-inline/index.js:250
thro…
-
As far as I can tell, there are two options to initialize Drivine:
1. From environment variables
2. From values set using a fluent API
From this, I get two questions:
1. How are environment …
-
The same issue as [this one](https://github.com/nest-modules/mailer/issues/42), this issue is closed so, I'm creating a new one.
**Error:**
`UnhandledPromiseRejectionWarning: Error: ENOENT: no suc…
-
Hi all, 🦄
Config:
```
"@nestjs-modules/mailer": "^1.6.0",
"nodemailer": "^6.5.0",
"handlebars": "^4.7.7",
```
I'm trying to use with handlebars.
App Module:
```javascript
@Mo…
-
Node.js 10.16.0
@nest-modules/mailer 1.1.3
nestjs 6.5.2
When sending an email using handlebars I get the following error:
```
[Nest] 26182 - 2019-07-29 3:41 PM [ExceptionsHandler] ENOENT…
hug0b updated
1 month ago
-
通过上篇学习,我们已经完成注册登录退出,一套基本用户体系,接下来我们需要完善它们。
这篇主要内容:
- 完善首页
- 完善其他静态页面
- 完善主题系统和用户权限
- 完善找回密码修改用户信息
- 完善用户系统
- 编写测试
- Typeorm重写取代Mongoose数据库
这是计划,如果文章太长,后2个内容会新开一个补充来专门介绍它们。
## 首页
先看…
-
I get the following error when trying to run `docker-compose up` on Ubuntu 22:
```
❯ sudo docker-compose up[sudo] password for mac:WARNING: Some networks were defined but are not used by any service:…
maacl updated
3 months ago
-
**Describe the bug**
I've updated to `"@nestjs-modules/mailer": "^2.0.0",` and now the project fails to run, throwing following error:
```
[15:54:12] Starting compilation in watch mode...
[15:54…