GithubHelp home page GithubHelp logo

Comments (16)

nrempel avatar nrempel commented on June 6, 2024 1

Hey @webdevian, glad you got it working. I still need to publish the latest version to npm. It’s been a busy couple weeks. I’ll do that ASAP.

from adonis-scheduler.

nrempel avatar nrempel commented on June 6, 2024

Did you register the ace command?

const aceProviders = [
...
'adonis-scheduler/providers/CommandsProvider'
]

from adonis-scheduler.

minhphuc429 avatar minhphuc429 commented on June 6, 2024

Yes, I registered. This my app.js
https://pastebin.com/NyVG3pWi

from adonis-scheduler.

ccocot avatar ccocot commented on June 6, 2024

i have same problem

from adonis-scheduler.

ntvsx193 avatar ntvsx193 commented on June 6, 2024

Hello everyone!
I'm write incorrect sample for generate task from command.
You need use command node ace make:task ....
The adonis cli is not included custom commands. I will change this typos in readme.md.

Also, you can get all supported commands for adonis and node ace via type this commands.

Thanks for feedback!

from adonis-scheduler.

minhphuc429 avatar minhphuc429 commented on June 6, 2024

I change adonis make:task Example to node ace make:task Example but it still return error: make:task is not a registered command

from adonis-scheduler.

ntvsx193 avatar ntvsx193 commented on June 6, 2024

I'm build clean adonis default app, add dependency from readme.

throw:test-adonis verchu$ node ace
Usage:
  command [arguments] [options]

Global Options:
  --env           Set NODE_ENV before running the commands
  --no-ansi       Disable colored output

Available Commands:
 make
  make:task       Make a new task scheduler
 run
  run:scheduler   Start the scheduler.

from adonis-scheduler.

minhphuc429 avatar minhphuc429 commented on June 6, 2024

Are you sure it works?
I try to create new adonis project 5.0.4 base on node.js v8.9.4 but it still not working

from adonis-scheduler.

webdevian avatar webdevian commented on June 6, 2024

@ntvsx193 @minhphuc429 This isn't working for me either. When I add 'adonis-scheduler/providers/CommandsProvider' to aceProviders and run ace or adonis I only get:

Available Commands:
 make
  make:task       Make a new task scheduler
 run
  run:scheduler   Start the scheduler.

But neither of these commands work. If I remove it I get the full list of adonis commands

from adonis-scheduler.

webdevian avatar webdevian commented on June 6, 2024

This is what I have installed:

    "@adonisjs/ace": "5.0.0",
    "@adonisjs/cli": "4.0.4",
    "@adonisjs/fold": "4.0.7",
    "@adonisjs/framework": "5.0.4",
    "@adonisjs/ignitor": "2.0.5",
    "@adonisjs/lucid": "5.0.3",
    "@adonisjs/mail": "3.0.5",
    "@adonisjs/redis": "2.0.4",
    "adonis-kue": "4.0.0",
    "adonis-scheduler": "3.0.0",

from adonis-scheduler.

webdevian avatar webdevian commented on June 6, 2024

I think it's because the package includes ace, fold and ignitor as dependencies instead of peer dependencies, so the commands aren't extending the same instance of ace or fold as the actual ace file

from adonis-scheduler.

webdevian avatar webdevian commented on June 6, 2024

Yes, it's different in this repository than 3.0.0 on NPM. When I install direct from github it works ok

from adonis-scheduler.

webdevian avatar webdevian commented on June 6, 2024

Thanks. It's a problem I had when making adonis-pug, everything in the repo looked right but once I installed it in another app with parallel adonis packages stuff like this started breaking

from adonis-scheduler.

nrempel avatar nrempel commented on June 6, 2024

I've published 3.0.1 to npm. Would everyone mind trying to install from npm to see if it works for you?

Thank you.

from adonis-scheduler.

webdevian avatar webdevian commented on June 6, 2024

Yeah that seems to work

from adonis-scheduler.

nrempel avatar nrempel commented on June 6, 2024

Thanks all

from adonis-scheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.