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

Documentation proposal for installation error of frontend packages #513

Open
erkesado opened this issue Jan 25, 2024 · 3 comments
Open

Documentation proposal for installation error of frontend packages #513

erkesado opened this issue Jan 25, 2024 · 3 comments

Comments

@erkesado
Copy link
Contributor

I got an error when installing the frontend packages with the npm install command.
The source of the error was the canvas package. Luckily this StackOverflow post saved my day. I had to download the compiling dependencies for the canvas package on my Ubuntu 20.04 machine.

Then I thought this error might happen whenever someone tried a fresh installation of the frontend packages. Has anyone encountered this error when installing the frontend packages before? How common does this error occur?

If this is a common error, we should document it and I'm ready to work on documenting it if it's worth doing so.

What is your experience?

@fsbraun
Copy link
Sponsor Member

fsbraun commented Jan 29, 2024

The new main repository contains an updated build environment without canvas. Would you like to give it a test?

@erkesado
Copy link
Contributor Author

@fsbraun sure. How can I access the new main repository?

@fsbraun
Copy link
Sponsor Member

fsbraun commented Jan 29, 2024

Simply clone it:

$ git clone [email protected]:django-cms/djangocms-admin-style.git
$ cd djangocms-admin-style
$ nvm install
$ nvm use
$ npm install
$ gulp bundle
$ gulp sass

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