Comments (9)
This should be done via #17
from grunt-compass.
How should I use it then?
My src/css/app.scss
@imports all other scripts so I tried the following:
compass: {
dev: {
src: 'src/css/app',
dest: 'tmp',
linecomments: true,
forcecompile: true,
//debugsass: true,
images: 'img',
relativeassets: true
}
}
which gives me
Running "compass:dev" (compass) task
>> No file matched with: src/css/app
<WARN> Task "compass:dev" failed. Use --force to continue. </WARN>
so I tried changing the src
parameter to 'src/css/app.scss'
which gave me
Running "compass:dev" (compass) task
`compass compile src/css/app.scss --css-dir="tmp" --images-dir="img" --relative-assets --force` was initiated.
COMPASS output:
>> Error: Command failed: You must compile individual stylesheets from the project directory.
<WARN> Task "compass:dev" failed. Use --force to continue. </WARN>
Don't quite get how this should work - any help appreciated!
from grunt-compass.
I'll check it out tonight.
from grunt-compass.
somebody seems to have a similar issue over there - not sure whether it's compass' fault... (I've got version 0.12.2)
from grunt-compass.
I just did a test with the newest versions of grunt, grunt-compass, sass and compass installed and it works perfectly...
from grunt-compass.
Running the following on Ubuntu 12.10 with grunt v0.3.17, grunt-compass v0.3.2, sass 3.3.0, compass v0.13
compass: {
dev: {
src: 'src/css/app.scss',
dest: 'tmp',
linecomments: true,
forcecompile: true,
images: 'img',
relativeassets: true
}
}
Any idea why this doesn't work? (The file exists and it's valid)
Couldn't find anything pertaining this error Error: Command failed: You must compile individual stylesheets from the project directory.
from grunt-compass.
Hello ! Did you found the answer ? I have the same problem :(
from grunt-compass.
Hi @Pixy!
I am sorry grunt-compass is deprecated and not under development anymore. Please use https://github.com/gruntjs/grunt-contrib-compass with the newest version of Grunt!
Thank you!
from grunt-compass.
Yes thank you, my problem was that I specified paths thinking that the root was the sassDir
I wrote the complete path and it works now :)
from grunt-compass.
Related Issues (15)
- working in watch, but not when just running grunt HOT 3
- Add --config CONFIG_FILE option HOT 4
- `--debug-info` is not a valid option HOT 1
- Error on watch command HOT 6
- @import not working right HOT 14
- This vs. grunt-contrib-compass HOT 11
- Output file with different file name. HOT 2
- Grunt 0.4 Release HOT 5
- grunt-compass deprecation HOT 2
- Creating multiple config.rb files HOT 2
- Action required: Greenkeeper could not be activated 🚨
- Issue with grunt-compass config options HOT 5
- add --force option from compass HOT 6
- Needs to process paths HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-compass.