adonis.js Questions
2
Given the example below.
import { QueryClientContract, TransactionClientContract } from '@ioc:Adonis/Lucid/Database'
The use of the colon has confused me and never understood where the imported fi...
Bishop asked 6/3, 2021 at 15:48
32
I want to run this project : https://github.com/adonis-china/adonis-adminify
When I run npm install, there exist error :
> [email protected] install C:\laragon\www\adonis-admin\node_modu...
2
Solved
Error when using BootStrap with Adonis and Inertia, with scss support.
I've been trying for days to make it work and I can't. Below is the configuration.
Would anyone know how I can resolve this is...
Distraught asked 12/8, 2023 at 1:56
3
Solved
It's been 2 days since one of my project' build starts failing on Gitlab CI. The main error was E_MISSING_APP_KEY and when I check another variable just by echoing $HOST and $PORT from my .gitlab-c...
3
I am using Ubuntu 18.04
I was trying to run npm by "npm start".
I am getting the above error.
Anyone help me in resolving this error.
`
WARNING: Adonis has detected an unhandled promise rejectio...
3
Solved
I use vuex-persistedstate package (https://github.com/robinvdvleuten/vuex-persistedstate) to persist data state on browser.
I use Adonuxt (a mix between NuxtJS and AdonisJS).
In VueX actions, I h...
1
Solved
A user's authentication returns the token, but it is not saved in the database
AuthController:
'use strict'
const User = use("App/Models/User");
class AuthController {
async registrar(...
Howard asked 9/3, 2021 at 14:1
2
Hi everybody I try use hash in password model but if i try save a new user adonis send me this error :
Error: Cannot find module 'phc-argon2'
I find in official documentation of adonis but i not fo...
0
I'm developing an application with Adonis v5 but its test runner isn't finished. So, my workaround is to apply Jest in its place. I got this working but I'm having trouble importing types from Adon...
Enshrine asked 15/5, 2020 at 17:53
1
Solved
I have this class:
class BookUnitQuestionSchema extends Schema {
up () {
this.create('book_unit_question', (table) => {
table.increments()
table.integer('book_unit_id').references('id').inT...
1
Solved
I am using AdonisJS to make a backend application. In migrations, specifically in models, we have the option of creating models, but I can't use a default value in enun type. After reading the Knex...
Roxieroxine asked 23/9, 2019 at 15:27
2
Solved
I'm using AdonisJs (NodeJS framework) and they created a function called use to import file like they'd be namespaces, for example use('App/Services/User') instead of require('../app/Services/User'...
2
Solved
I am looking at this specific line of code to understand what it is or to find some documentation about it.
https://github.com/adonisjs/adonis-rally/blob/c7378d2c3984bffba1049f50e771318ea447107c/a...
Something asked 21/12, 2016 at 17:21
1
Solved
I am trying to integrate React with Adonis Js to build an SPA. Adonis handles routing to an SPA by
Route.any('*', function * (request, response) {
yield response.sendView('home')
})
I have done...
Trojan asked 16/11, 2016 at 8:48
1
© 2022 - 2024 — McMap. All rights reserved.