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

Command npm run import:sample-data -- [args] not working #1705

Closed
git-init-priyanshu opened this issue Jan 16, 2024 · 4 comments
Closed

Command npm run import:sample-data -- [args] not working #1705

git-init-priyanshu opened this issue Jan 16, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@git-init-priyanshu
Copy link
Member

Describe the bug
When executing the command npm run import:sample-data -- [args], it results in a series of errors.

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to "talawa-api" directory
  2. Run the command npm run import:sample-data -- [args]

Expected behavior
The command should execute without errors, and the sample data should be successfully imported into the database.

Actual behavior
The command fails to import sample data to the database and also throws a bunch of errors.

Screenshots
image

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@git-init-priyanshu git-init-priyanshu added the bug Something isn't working label Jan 16, 2024
@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Jan 16, 2024
@git-init-priyanshu
Copy link
Member Author

I would like to work on this issue. Thanks

@varshith257
Copy link
Member

@git-init-priyanshu It already has been solved by #1679
Just sync your fork for updated PR's and run it. It's working fine.

@git-init-priyanshu
Copy link
Member Author

I would like to work on this issue.

@palisadoes
Copy link
Contributor

Closing. This works on the latest upstream running the recommended node v20

@palisadoes palisadoes closed this as not planned Won't fix, can't repro, duplicate, stale Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants