django-cms / djangocms-admin-style

django CMS Admin Style is a Django Theme tailored to the needs of django CMS.
http://www.django-cms.org/
Other
411 stars 116 forks source link

Documentation proposal for installation error of frontend packages #513

Open erkesado opened 5 months ago

erkesado commented 5 months ago

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 commented 5 months ago

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

erkesado commented 5 months ago

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

fsbraun commented 5 months ago

Simply clone it:

$ git clone git@github.com:django-cms/djangocms-admin-style.git
$ cd djangocms-admin-style
$ nvm install
$ nvm use
$ npm install
$ gulp bundle
$ gulp sass