node.js - 运行 node ace invoke adonis-mix-asset 抛出此错误:`invoke` is not a registered command
问题描述
王牌文件:
'use strict'
/*
|--------------------------------------------------------------------------
| Ace Commands
|--------------------------------------------------------------------------
|
| The ace file is just a regular Javascript file but with no extension. You
| can call `node ace` followed by the command name and it just works.
|
| Also you can use `adonis` followed by the command name, since the adonis
| global proxy all the ace commands.
|
*/
const { Ignitor } = require('@adonisjs/ignitor')
new Ignitor(require('@adonisjs/fold'))
.appRoot(__dirname)
.fireAce()
.catch(console.error)
解决方案
推荐阅读
- cassandra - 如何查询列表中的元素
>> 在卡桑德拉? - haskell - 尽管设置了行级别策略,但未从 IHP DataSync 获得结果
- php - 如何在 woocommerce 属性之间放置自定义 div?
- mysql - MYSQL:如何计算每个数据的移动平均值?
- swift - Actor 'self' 只能从异步初始化器中传递 'inout'
- maven - 使用 maven 或 artifactory 查找依赖项的所有引用?
- git - 从历史记录中删除过去的 git 提交 - 非交互方式
- vba - 如何修复excel VBA中的“运行时错误3251”
- c - 信号量和共享内存已打开/O_EXCL 标志有问题
- apache-flink - Apache Flink 中带有 TumblingWindow 的水印