Skip to content

Getting error in compiling SCSS using gulp using steps provided in Build Tools section #103

@ShivamS136

Description

@ShivamS136

Prerequisites

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I'm reporting the issue to the correct repository (for multi-repository projects)

Expected Behavior

SCSS should be compiled and colors should have been changed in CSS files.

Current Behavior

First I was getting an error in gulp, I used npm audit fix --force then different error.

Failure Information (for bugs)

Error before audit fix:

ReferenceError: primordials is not defined
    at fs.js:35:5
    at req_ (C:\Users\Sai Ram\Downloads\now-ui-kit-master\node_modules\natives\index.js:143:24)
    at Object.req [as require] (C:\Users\Sai Ram\Downloads\now-ui-kit-master\node_modules\natives\index.js:55:10)
    at Object.<anonymous> (C:\Users\Sai Ram\Downloads\now-ui-kit-master\node_modules\graceful-fs\fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1156:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
    at Module.load (internal/modules/cjs/loader.js:1000:32)
    at Function.Module._load (internal/modules/cjs/loader.js:899:14)
    at Module.require (internal/modules/cjs/loader.js:1042:19)
    at require (internal/modules/cjs/helpers.js:77:18)

Error after audit fix:

AssertionError [ERR_ASSERTION]: Task function must be specified
   at Gulp.set [as _setTask] (C:\Users\Sai Ram\Downloads\now-ui-kit-master\node_modules\undertaker\lib\set-task.js:10:3)
   at Gulp.task (C:\Users\Sai Ram\Downloads\now-ui-kit-master\node_modules\undertaker\lib\task.js:13:8)
   at Object.<anonymous> (C:\Users\Sai Ram\Downloads\now-ui-kit-master\gulpfile.js:34:6)
   at Module._compile (internal/modules/cjs/loader.js:1156:30)
   at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
   at Module.load (internal/modules/cjs/loader.js:1000:32)
   at Function.Module._load (internal/modules/cjs/loader.js:899:14)
   at Module.require (internal/modules/cjs/loader.js:1042:19)
   at require (internal/modules/cjs/helpers.js:77:18)
   at requireOrImport (C:\Users\Sai Ram\AppData\Roaming\npm\node_modules\gulp-cli\lib\shared\require-or-import.js:19:11) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}

Steps to Reproduce

Follow the guide given in build tool section of the kit.

  • Device: HP Notebook
  • Operating System: Windows 10
  • Browser and Version: Chrome Version 83.0.4103.61 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions