Closed leandrofinger closed 5 years ago
Follow README file instructions in a brand new Adonis 4.1 project.
0.1.4
Node 10.15.3 - Npm 6.9.0
I followed the installation as README file describe. When I ran the command adonis make:job ProcessTask --queue high I received the error:
adonis make:job ProcessTask --queue high
Error: Cannot find module '../app/Commands/MakeJob' 1 Object.app.bind [as closure] /Users/finger/trackmob/hub-core/node_modules/adonisjs-queue/providers/JobCommandsProvider.js:15 2 Ioc._resolveBinding /Users/finger/trackmob/hub-core/node_modules/@adonisjs/fold/src/Ioc/index.js:233 3 Ioc.use /Users/finger/trackmob/hub-core/node_modules/@adonisjs/fold/src/Ioc/index.js:731 4 Kernel.addCommand /Users/finger/trackmob/hub-core/node_modules/@adonisjs/ace/src/Kernel/index.js:182 5 JobCommandsProvider.boot /Users/finger/trackmob/hub-core/node_modules/adonisjs-queue/providers/JobCommandsProvider.js:38 6 _.filter.map /Users/finger/trackmob/hub-core/node_modules/@adonisjs/fold/src/Registrar/index.js:147 7 arrayMap /Users/finger/trackmob/hub-core/node_modules/lodash/lodash.js:639 8 Function.map /Users/finger/trackmob/hub-core/node_modules/lodash/lodash.js:9556 9 interceptor /Users/finger/trackmob/hub-core/node_modules/lodash/lodash.js:16993 10 thru /Users/finger/trackmob/hub-core/node_modules/lodash/lodash.js:8797 11 anonymous /Users/finger/trackmob/hub-core/node_modules/lodash/lodash.js:4374 12 arrayReduce /Users/finger/trackmob/hub-core/node_modules/lodash/lodash.js:683
After fixing this bug in the package, I faced the following error running the same command:
invalid value for "--queue" flag: value is either 'high' or 'low'
released 0.1.5
Thanks for the PR. All merged!
Prerequisites
Follow README file instructions in a brand new Adonis 4.1 project.
Package version
0.1.4
Node.js and npm version
Node 10.15.3 - Npm 6.9.0
Sample Code (to reproduce the issue)
I followed the installation as README file describe. When I ran the command
adonis make:job ProcessTask --queue high
I received the error:After fixing this bug in the package, I faced the following error running the same command:
Pull Request to fix both problems
released 0.1.5