Hi folks, I’m trying to get started building my Nikola-based site on Netlify. I’m having trouble using both Node and Python with Pipfile.
My first attempt nearly worked: it installed dependencies from my
Pipfile (once I’d specified the right Python version) and mostly built the site but then couldn’t find
lessc which my theme use to compile my stylesheets. I added less as a dependency using
yarn (I’d been using the distribution package locally) and pushed, but then the build process couldn’t find
npm so wouldn’t build. Eventually I ripped out
Pipfile and replaced it with an equivalent
requirements.txt and the build finally works.
This is really annoying because I’d much prefer to use
pipenv to manage my Python dependencies. Am I doing something wrong or is this a bug with how the
Pipfile is used on the Netlify end?