The error:
Error: "@adonisjs/view" must be installed before using "message.htmlView"
I have installed this package but still getting error.
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
.
For more information, check out https://docs.adonisjs.com/guides/views/introduction#setup