Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError in cli.js: expecting an array or an iterable object but got [object Null] #11

Closed
aynaitlamine opened this issue Jun 2, 2024 · 3 comments

Comments

@aynaitlamine
Copy link

aynaitlamine commented Jun 2, 2024

I encountered an error while using the ccdown tool. After logging in and detecting courses, the following error occurs:

✔ Login... completed. ✓ Found: 1 courses MAIN errorr in cli.js: TypeError: expecting an array or an iterable object but got [object Null] at process.processImmediate (node:internal/timers:476:21)

Steps to Reproduce:

  1. Run the ccdown tool.
  2. Complete the login process.
  3. The tool finds the courses.
  4. The error appears immediately after finding the courses.

Expected Behavior:
The tool should process the found courses without throwing a TypeError.

Actual Behavior:
A TypeError is thrown, indicating that an array or iterable object was expected but a null object was received.

@muhamed-didovic
Copy link
Owner

hey @aynaitlamine, Alex changed the design and layout... I'll update scraper

@muhamed-didovic
Copy link
Owner

hey @aynaitlamine, pushed new version, please update it and let me know how it goes

@aynaitlamine
Copy link
Author

Hi @muhamed-didovic ,

Thank you for the quick response. I have tested it and it works perfectly.
I am closing this issue as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants