You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure how bumping to Gulp 4 will affect the project. Currently it does not build on a base Node install.
$ ./node_modules/.bin/gulp -v
CLI version 3.9.1
Local version 3.9.1
$ node -v
v15.7.0
$ ./node_modules/.bin/gulp dist
fs.js:51
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:51:5
at req_ (/home/node/node_modules/natives/index.js:143:24)
at Object.req [as require] (/home/node/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/home/node/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
$ npm install gulp@latest gulp-clean@latest gulp-util@latest gulp-zip@latest
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
Resulting package.json:
{
"name": "status-title-bar",
"description": "Gnome-Shell extension that shows the focused window titlebar in the status panel.",
"version": "1.0.5",
"devDependencies": {
"gulp": "^4.0.2",
"gulp-clean": "^0.4.0",
"gulp-util": "^3.0.8",
"gulp-zip": "^5.0.2"
}
}
Of course now we're on Gulp 4, so the tasks in the gulpfile have to be updated to new syntax. Anyone got any thoughts on doing this work. Shall I go ahead and see about putting a PR together?
The text was updated successfully, but these errors were encountered:
Not sure how bumping to Gulp 4 will affect the project. Currently it does not build on a base Node install.
See: https://stackoverflow.com/questions/55921442/how-to-fix-referenceerror-primordials-is-not-defined-in-node
Checking the versions:
Updating the devDependencies:
Resulting package.json:
Of course now we're on Gulp 4, so the tasks in the gulpfile have to be updated to new syntax. Anyone got any thoughts on doing this work. Shall I go ahead and see about putting a PR together?
The text was updated successfully, but these errors were encountered: