Menu icon Foundation

Developer

My Posts




My Comments

Nino Kutnjak commented on Nino Kutnjak's post over 3 years

You are right, this works.

Nino Kutnjak commented on Nino Kutnjak's post over 4 years

It externally hosted VPS and i'm connecting to it with SSH. Basically i'm trying to create development environment on remote VPS server so i can access it with cloud9 and similar cloud based IDE's. After the project is finished i would use same VPS to host it.

I'm guessing i would have same issues if i would use Linux server as my local machine - or does SSH make a difference here ?

Nino Kutnjak commented on Jennifer Eberlei's post over 4 years

I'm having similar issues, though my gulpfile.js is bit different, any ideas on how i should fix that ??

  1. Error:
    HTML
    20:14:54] 'sass' errored after 103 μs
    [20:14:54] ReferenceError: sass is not defined
    at Gulp.gulp.task.gulp.src.pipe.$.uglify.beautify (/srv/zef-invoice/gulpfile.js:75:8)
    at module.exports (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/srv/zef-invoice/node_modules/run-sequence/index.js:74:16)
    at Gulp.onTaskEnd (/srv/zef-invoice/node_modules/run-sequence/index.js:63:5)
    at Gulp.EventEmitter.emit (events.js:117:20)
    at Gulp.Orchestrator._emitTaskDone (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
    at /srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:275:23

  2. gulpfile.js

 // Compiles Sass
gulp.task('sass', function() {
  return gulp.src('client/assets/scss/app.scss')
    .pipe($.rubySass({
      loadPath: sassPaths,
      style: 'nested',
      bundleExec: true
    })).on('error', function(e) {
      console.log(e);
    })
    .pipe($.autoprefixer({
      browsers: ['last 2 versions', 'ie 10']
    }))
    .pipe(gulp.dest('./build/assets/css/'));
});


Posts Followed





Following

    No Content

Followers

My Posts

My Comments

You commented on Nino Kutnjak's post over 3 years

You are right, this works.

You commented on Nino Kutnjak's post over 4 years

It externally hosted VPS and i'm connecting to it with SSH. Basically i'm trying to create development environment on remote VPS server so i can access it with cloud9 and similar cloud based IDE's. After the project is finished i would use same VPS to host it.

I'm guessing i would have same issues if i would use Linux server as my local machine - or does SSH make a difference here ?

You commented on Jennifer Eberlei's post over 4 years

I'm having similar issues, though my gulpfile.js is bit different, any ideas on how i should fix that ??

  1. Error:
    HTML
    20:14:54] 'sass' errored after 103 μs
    [20:14:54] ReferenceError: sass is not defined
    at Gulp.gulp.task.gulp.src.pipe.$.uglify.beautify (/srv/zef-invoice/gulpfile.js:75:8)
    at module.exports (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
    at Gulp.Orchestrator._runTask (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
    at Gulp.Orchestrator._runStep (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
    at Gulp.Orchestrator.start (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
    at runNextSet (/srv/zef-invoice/node_modules/run-sequence/index.js:74:16)
    at Gulp.onTaskEnd (/srv/zef-invoice/node_modules/run-sequence/index.js:63:5)
    at Gulp.EventEmitter.emit (events.js:117:20)
    at Gulp.Orchestrator._emitTaskDone (/srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
    at /srv/zef-invoice/node_modules/gulp/node_modules/orchestrator/index.js:275:23

  2. gulpfile.js

 // Compiles Sass
gulp.task('sass', function() {
  return gulp.src('client/assets/scss/app.scss')
    .pipe($.rubySass({
      loadPath: sassPaths,
      style: 'nested',
      bundleExec: true
    })).on('error', function(e) {
      console.log(e);
    })
    .pipe($.autoprefixer({
      browsers: ['last 2 versions', 'ie 10']
    }))
    .pipe(gulp.dest('./build/assets/css/'));
});


Posts Followed

Following

  • No Content

Followers

  • No Content