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

course authoring doesn't work with frontend-lib-content-components #836

Closed
johnvente opened this issue Feb 15, 2024 · 2 comments
Closed

Comments

@johnvente
Copy link
Contributor

johnvente commented Feb 15, 2024

When we clone frontend-lib-content-components
And update our module.config.js pointing to the frontend-lib-content-components cloned we will get an error which will be this
open-edx-error

Step to reproduce it

  1. go to your frontend-app-course-authoring
      cd ~/workspace/frontend-app-course-authoring
      git checkout master
      git pull origin master
    
  2. Clone frontend-lib-content-components inside frontend-app-course-authoring folder
      git clone https://github.com/openedx/frontend-lib-content-components.git
      cd frontend-lib-content-components && nvm use && npm install
    
  3. Configure/create your module.config.js file to this
module.exports = {
  localModules: [
    {
      moduleName: "@edx/frontend-lib-content-components/dist",
      dir: "./frontend-lib-content-components",
      dist: "src",
    },
    {
      moduleName: "@edx/frontend-lib-content-components",
      dir: "./frontend-lib-content-components",
      dist: "src",
    },
  ],
};
  1. Inside your frontend-app-course-authoring
  nvm use && npm install
  npm start
@brian-smith-tcril
Copy link
Contributor

frontend-app-course-authoring does work with frontend-lib-content-components
https://github.com/openedx/frontend-app-course-authoring/blob/51c5f9c4dced25f4b6af3070edcc95d6a58fe7cc/package.json#L45

It just has not been updated to support the latest version yet.

I have started the process of updating it to support the latest version here #818

@johnvente
Copy link
Contributor Author

That said I will be closing this issue and it's PR

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