简体   繁体   English

当我使用 message.htmlView 在 adonis js 中发送邮件时出现错误

[英]I have getting error when i'm using message.htmlView to send mail in adonis js

enter image description here在此处输入图像描述

The error:错误:

Error: "@adonisjs/view" must be installed before using "message.htmlView"

I have installed this package but still getting error.我已经安装了这个包,但仍然出现错误。

After running the command npm i @adonisjs/view , the next thing to do is to configure the package before it can work and do to that you just run the command node ace configure @adonisjs/view .在运行命令npm i @adonisjs/view之后,接下来要做的是在包可以工作之前配置它,然后你只需运行命令node ace configure @adonisjs/view

For more information, check out https://docs.adonisjs.com/guides/views/introduction#setup有关更多信息,请查看https://docs.adonisjs.com/guides/views/introduction#setup

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 尝试发送嵌入时出现错误 - I'm getting an error when I try to send embeds 为什么我在尝试使用 axios 发送发布请求时遇到网络错误 - Why i'm getting a network error, when trying to send a post request using axios 发送邮件时出现错误404 - Error 404 when I send a mail 如何解决:当我尝试使用adonis框架在节点js上传文件时“流意外结束” - How to fix: “stream ended unexpectedly” when i tried to upload file in node js using adonis framework 当我运行代码通过Nexmo发送消息时收到此错误。 消息已发送,但此之后发生此错误 - getting this error when i run the code to send message through Nexmo. message is sent but after that this error occurs 执行歌词命令时出现此错误:DiscordAPIError:无法发送空消息 - I have this error when i execute my lyrics command : DiscordAPIError: Cannot send an empty message 操作数组时出现错误 - I'm getting error when manipulating array Javascript错误:第一行的输入意外结束,没有任何明显的问题,但是我收到一条消息,整个画布停止了 - Javascript error: I have a unexpected end of input on my first line, with no apparent problems, but I'm getting a message and the whole canvas stops 我想使用 CSS 样式设置 JS 文件的样式,但出现错误 - I would like to style JS file in react using CSS styling but I'm getting an error 当我想使用 adonis js 在 Windows 操作系统中上传图像时,我发现了这个问题,我该如何解决这个问题 - When I want to upload image in windows os with adonis js I found this problem how can I solved this
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM