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

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

Open
magfoto opened this issue Apr 2, 2022 · 0 comments
Open

Comments

@magfoto
Copy link

magfoto commented Apr 2, 2022

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.

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

No branches or pull requests

1 participant