Skip to content

Error running gulpfile: "ReferenceError: primordials is not defined" #28

@magfoto

Description

@magfoto

Hello,

I have been attempting to customize the front-end, but unable to get the gulp file to run. I am getting the following error:

gulp
fs.js:47
} = primordials;
^

ReferenceError: primordials is not defined
at fs.js:47:5
at req_ (/Users/magfoto/gibberwocky/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/magfoto/gibberwocky/node_modules/natives/index.js:55:10)
at Object. (/Users/magfoto/gibberwocky/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:975:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)

Re-downloaded and re-installed, gulp, gibberwocky, and even node and npm, to try and reduce possibility of a setup conflict with node.js on machine. The gulp version i'm using:

gulp -v
[23:54:16] CLI version 3.9.1
[23:54:16] Local version 3.9.1

I discovered other threads who have reported a similar error for other uses of gulp. One had recommended using older versions of gulp. I have also made this attempt with much older versions as well, with no change.

Any advice? For now, I currently manually edit the compiled html file to customize colors of the frontend, but would like to even put new custom js functions added to a list in the microtabs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions