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

fix: support for newer npm and macOS #33506

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kdmccormick
Copy link
Member

@kdmccormick kdmccormick commented Oct 16, 2023

Just an updated version of #33232. Author credit to @mohd-akram .

Testing

Mohamed tested this with paver update_assets (the old assets build) on macOS.

I tested it with npm run build (the new assets build) on Ubuntu 22.04.

mohd-akram and others added 2 commits October 1, 2023 11:35
macOS does not support the `--force` flag in `cp`, so use the equivalent `-f`
flag instead. Newer versions of npm also require `legacy-peer-deps` to be set
to true to install successfully. They also no longer have the `npm bin`
command, so use `npm root` instead.
@kdmccormick
Copy link
Member Author

Converting back to draft, as requirements installation failed when running tutor images build openedx on this branch.

@kdmccormick kdmccormick reopened this Oct 19, 2023
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

Successfully merging this pull request may close these issues.

2 participants