Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/bin/bash lessc on ubuntu server in aws #660

Open
zeroshree opened this issue Mar 5, 2019 · 6 comments
Open

/bin/bash lessc on ubuntu server in aws #660

zeroshree opened this issue Mar 5, 2019 · 6 comments

Comments

@zeroshree
Copy link

I clone repository in one aws ec2 machine based on debian.

I installed node v8.9.4 and installed lessc ,

but UI page is not working for me please have look into this.

getting this error and stuck in this since 2 days. Is there any hosted solution for cabot or ami. ??

screenshot from 2019-03-05 09-47-04

@dbuxton
Copy link
Contributor

dbuxton commented Mar 5, 2019

this is a legacy issue - the package is now called less not lessc

@zeroshree
Copy link
Author

I am using docker-compose , and I saw in Dockerfile it has been instructed to install less@Version

With docker-compose locally working , but it's not working in EC2 machine.

@varunchandak
Copy link

facing the same issue when running from docker on a VM (GCP VM).

image

@zeroshree
Copy link
Author

I resolved by doing bypass compress stuff

@varunchandak
Copy link

I resolved by doing bypass compress stuff

Can you help me with this ? Not much of a developer.

@zeroshree
Copy link
Author

I did in following ways

git clone repository.

$cd cabot/cabot

$ vim settings.py

I Commented following lines

`COMPRESS_PRECOMPILERS = (

# ('text/coffeescript', 'coffee --compile --stdio'),

# ('text/eco',

#  'eco -i TEMPLATES {infile} && cat "$(echo "{infile}" | sed -e "s/\.eco$/.js/g")"'),

# ('text/less', 'lessc {infile} > {outfile}'),

)
`

and in the end of the this file(settings.py) add this

COMPRESS_ENABLED=False

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants