输入图片描述
错误:
Error: "@adonisjs/view" must be installed before using "message.htmlView"
我已经安装了这个包,但是仍然出现错误。
在运行命令npm i @adonisjs/view
之后,接下来要做的是在它可以工作之前配置包,然后运行命令node ace configure @adonisjs/view
。
更多信息,请访问https://docs.adonisjs.com/guides/views/introduction#setup