timonweb / django-bulma

Bulma theme for Django
MIT License
341 stars 58 forks source link

Error running python manage.py bulma install on rasp pi #28

Closed LoLL0 closed 5 years ago

LoLL0 commented 5 years ago

Hi all, I'm trying to install django-bulma in my django project.

After I executed "python manage.py copy_bulma_static_into_project" on my rasp pi, I had this issue:

FileNotFoundError [Errno 2] no such file or directory 'npm'

Could anyone try to help me?

timonweb commented 5 years ago

Bulma needs node.js in order to compile. npm is a package manager for node.js. You need to install node.js on your system.

LoLL0 commented 5 years ago

Hi Tim,

thank you for the reply. I figured I had to use npm. I have another question: sinceI already use Python virtualenv as sandbox, I'd like know if is it possible work with django-bulma ( that needs npm as you told me) with the virtuarlenv?

Regards,

Lo

timonweb commented 5 years ago

Hi Lo

NPM doesn't care about virtualenv. It's installed globally, so you should be able to access it from virtualenv without any issues. Just make sure that npm can be called via command line and it should work just fine.

LoLL0 commented 5 years ago

Hi Tim,

thanks for the suggestions, I did it!!

timonweb commented 5 years ago

Hi Lo, I'm glad it's working! Closing this one then.