How to fix primordials is not defined

This primordials issue occurs when you have some different version for gulp and node. If you are using node 12 and gulp 3, then this problem happen while you automate your task.

Here is the quick solution for you.

If you are using yarn then add below snippet for in you package.json file and install that package through yarn.

  // Your current package.json contents
  "resolutions": {
    "graceful-fs": "^4.2.4"

After install this package through yarn, Now you can run your automation command.