You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to compile my bundles using plone-compile-resources but got some issue because several npm packages were missing. I needed to install a few packages to make it work (see below). Also there was a NoneType error here because I had a bundle without resources and bundle.resources was None in this case.
Unfortunately I was thinking it will create the missing theme-compiled.css file after installing a theme using bobtemplates.plone but I guess I am making something wrong. However it seems that the script plone-compile-resources does not work out of the box on a Plone 5.2 installation with Python 3.8.x.
This is the section of my develop.cfg for installing the script:
Hi,
I was trying to compile my bundles using
plone-compile-resources
but got some issue because several npm packages were missing. I needed to install a few packages to make it work (see below). Also there was aNoneType
error here because I had a bundle without resources andbundle.resources
wasNone
in this case.plone.staticresources/src/plone/staticresources/_scripts/_generate_gruntfile.py
Line 403 in 67cd194
If fixed it with an
if bundle.resources
around thefor
loop.Then I was able to
cd
into my package source directory and run the command like so:It ran without errors.
Unfortunately I was thinking it will create the missing
theme-compiled.css
file after installing a theme usingbobtemplates.plone
but I guess I am making something wrong. However it seems that the scriptplone-compile-resources
does not work out of the box on a Plone 5.2 installation with Python 3.8.x.This is the section of my
develop.cfg
for installing the script:The text was updated successfully, but these errors were encountered: