Error

gulp build: ReferenceError: primordials is not defined

Solution

In your package.json, add or modify your config to  "resolutions": { "graceful-fs": "4.2.2" }