Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9203019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:23:11+00:00 2026-06-17T23:23:11+00:00

I have a fresh virtualenv environment and have got the latest django-pipleline. The JS

  • 0

I have a fresh virtualenv environment and have got the latest django-pipleline.

The JS compression with Closure works perfect, but CSS compression with Yuglify fails, due a node error:

STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
PIPELINE_JS_COMPRESSOR = 'pipeline.compressors.closure.ClosureCompressor'
PIPELINE_CSS_COMPRESSOR = 'pipeline.compressors.yuglify.YuglifyCompressor'

When I try to collect the static:

./manage.py collectstatic

It says:

pipeline.compressors.CompressorError: /usr/bin/env: node: No such file or directory

But I have clearly installed yuglify even as global:

sudo npm -g install yuglify

/usr/local/bin/yuglify -> /usr/local/lib/node_modules/yuglify/bin/yuglify
yuglify@0.1.2 /usr/local/lib/node_modules/yuglify 
├── uglify-js@1.3.4
├── ycssmin@1.0.1
└── nopt@2.1.1

Trying to set the biney in settings doesn’t help either:

PIPELINE_YUGLIFY_BINARY = '/usr/local/bin/yuglify'

I still get the same error. Why now such problems with npm? Is there something I have to setup additionally?

Alternatively is there a way to install yuglify with pip?

Many Thanks,

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:23:12+00:00Added an answer on June 17, 2026 at 11:23 pm

    After 3 hours of suffering, I have found the solution.

    This is happening because of a misnaming error, if you install from a package manager (npm) your bin may be called nodejs so you just need to symlink it like this:

    ln -s /usr/bin/nodejs /usr/bin/node
    

    Now it is working. This didn’t happen with the older version, its is something new. But at least it is working again. I hope this helps someone else out there. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to virtualenv but I'm writting django app and finally I will have
I'm pretty fresh to database handling, but now completely without experience. However, I have
When I create a fresh virtualenv, pip freeze shows that I have a couple
I have a fresh install of WordPress 3.1.2 (not upgraded but installed fresh), containing
I have just created a fresh virtualenv into which I want to run my
I have a fresh build of neo4j-rest-graphdb-1.8-SNAPSHOT.jar . But I'm having trouble right out
I have a fresh install of the latest Eclipse Helios for Java EE development
I have fresh installation of RabbitMQ on a linux/ubuntu server. Lets say the server
I try to update a project from SVN (I have a fresh install of
My scenario is I have two laptops with fresh installation of windows . Now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.