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

Error property missing at gulp with stylus #26

Open
ednilsonamaral opened this issue Sep 30, 2016 · 0 comments
Open

Error property missing at gulp with stylus #26

ednilsonamaral opened this issue Sep 30, 2016 · 0 comments

Comments

@ednilsonamaral
Copy link

ednilsonamaral commented Sep 30, 2016

I found this error...

C:\xampp\htdocs\web\project\node_modules\when\lib\decorators\unhandledRejection.js:80
                throw e;
                ^

Error: property missing ':' near line 2892:3
    at error (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\css-parse\index.js:57:15)
    at declaration (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\css-parse\index.js:1:33)
    at declarations (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\css-parse\index.js:9:19)
    at rule (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\css-parse\index.js:481:21)
    at rules (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\css-parse\index.js:103:56)
    at stylesheet (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\css-parse\index.js:736)
    at module.exports (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\css-parse\index.j485:10)
    at Transform.transform [as _transform] (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\index.js:3:19)
    at Transform._read (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\readable-stream\b\_stream_transform.js:184:10)
    at Transform._write (C:\xampp\htdocs\web\project\node_modules\gulp-combine-media-queries\node_modules\readable-streamib\_stream_transform.js:172:12)

My gulpfile.js is:

const gulp = require('gulp'),
          mmq = require('gulp-combine-media-queries');

gulp.task('stylus', function(){
   gulp.src('APP/CSS/main.styl')
      .pipe(plumber())
      .pipe(stylus({
         use:[prefixer(), rupture(), jeet()],
         compress: false
     }))
      .pipe(mmq({log: true}))
      .pipe(gulp.dest('Assets/CSS/'))
      .pipe(browserSync.reload({stream:true}))
      .pipe(gulp.dest('APP/CSS'));
});

In package.json:

"devDependencies": {
    "gulp-combine-media-queries": "^0.2.0"
}

And I not found a solution for this.

Can you help me? please..

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

1 participant