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
Convert Talawa-Admin to use the NPM package manager #546
Comments
Can I take up this issue? |
Hello @xoldyckk @Shofiya2003 If this issue is not getting addressed, I would like to be assigned and work on it. Thank you! |
Yo!
I am working on it.
…On Sat, 11 Mar, 2023, 8:35 pm Akanksha, ***@***.***> wrote:
Hello @xoldyckk <https://github.com/xoldyckk> @Shofiya2003
<https://github.com/Shofiya2003> If this issue is not getting addressed,
I would like to be assigned and work on it. Thank you!
—
Reply to this email directly, view it on GitHub
<#546 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUXSDRTKKWNRZ5YDPJNW4D3W3SIDNANCNFSM6AAAAAAVSQYPYY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@palisadoes do I need to upgrade the yarn version too or just change the package manager to npm? |
I plan to remove |
|
@palisadoes |
Also, I changed |
Do you mean these files? Then yes.
They will need to be updated too. You can work with @xoldyckk on this. This is not an area of strength for me. |
Include both yarn.lock and pnpm-lock.yaml, if a user accidently installs packages with some other package manager the lock file just needs to be ignored. This'll prevent users from pushing lock files of yarn and pnpm along with their PRs. Also, they can't make changes to package.json without those changes also reflecting in package-lock.json, so even if a different package manager is used to upgrade the packages or something, until and unless package-lock.json doesn't update along with it the PR won't be merged. |
|
Do I need to implement the condition mentioned in the second paragraph or does it already exist? |
@palisadoes @xoldyckk |
Also, documentation related to yarn is no longer required. I think we should have a link to the getting started page of NPM, which has installation steps. |
You don't need to implement some check for it, it'll need to be enforced while reviewing PRs. |
Once migration to npm is successful, you may make the changes to docs. |
This issue did not get any activity in the past 10 days and will be closed in 365 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
@Shofiya2003 Are you still working on this? The PR has errors that need to be fixed. |
@anurag0006 already raised a PR for this issue. |
Sorry, @Shofiya2003 i thought you weren't here |
No worries @anurag0006 |
@Shofiya2003 the PR has been unchanged for almost 2 weeks. Do you plan to update it soon? There are others who can work on this. |
@palisadoes all the changes have been made. |
This error occurs because multiple packages use different versions of |
Have you tried alternatives to those packages or upgrading them? |
@palisadoes @xoldyckk I tried
Interestingly, these errors do not occur when we use |
I cannot consider alternative to this package since it is a peer dependency of many prominently used packages like |
@xoldyckk I am stuck on this issue. I have made all the necessary changes. Just the
I did use google and tried out solutions but to no avail |
@Shofiya2003 You see I too tried doing this locally on my system, and I wasn't able to. That's why I opened it as an issue. This is related to the outdated packages talawa-admin uses. Unless they are upgraded, the fix will probably be some hack, which will keep breaking from time to time. |
I would like to work on this issue. It has been more than 16 days, @Shofiya2003 is trying to resolve this. |
@Shofiya2003 I'm going to reassign this. This is a prerequisite for our planned summer projects that will kickoff soon. |
No worries |
Describe the bug
This has caused problems with developing new code like this:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When updating packages:
Actual behavior
Screenshots
Additional details
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359
The text was updated successfully, but these errors were encountered: