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

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

Open
4 tasks done
ShivamS136 opened this issue Jun 4, 2020 · 3 comments
Open
4 tasks done

Comments

@ShivamS136
Copy link

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)
@dragosct
Copy link
Member

dragosct commented Jun 4, 2020

Hi, @ShivamS136! Thanks for using our products. Please be sure that you have latest versions of npm and nodejs.

Regards,
Dragos

@weagle08
Copy link

I'm getting this same error as well in the BLK PRO version. Really need a fix so that I can use the software I paid for. It may be a node version issue. Need an updated version of the BLK Pro using latest NodeJS version 14.

Environment:
Win 10, Node v14.13

@analuzcervantes
Copy link

Hi @ShivamS136!
It seems to be related to the Gulp V4, downgrade Gulp version.

  1. To downgrade you need to update your package.json with
  • "gulp": "^3.9.1",
  1. And then remove node_module folder and reinstall npm packages
  • rm -rf node_modules
  • npm install

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

No branches or pull requests

4 participants