I am a designer with enough development skills to be scary… but not a super savvy CLI guy… and I’m banging my head against the wall here! Trying to customize markup on a casper theme for a Ghost Pro hosted site
-
Setting up Ghost on a Mac Mini w/ Apple M1 Chip
-
What version of Ghost are you using? 4.5.0
-
Using VS Code… new install of casper in new (local) directory
-
What errors or information do you see in the console?
2 errors that seem relevant:
Jamess-Mac-mini site % npm install --save-dev gulp
npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated resolve-url@0.2.1: GitHub - lydell/resolve-url: [DEPRECATED] Like Node.js’ `path.resolve`/`url.resolve` for the browser.
npm WARN deprecated urix@0.1.0: Please see GitHub - lydell/urix: [DEPRECATED] Makes Windows-style paths more unix and URI friendly.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
Jamess-Mac-mini casper % npm run pretest
casper@4.0.5 pretest /Users/blackwellspace/code/site/versions/4.5.0/content/themes/casper
gulp build
/Users/blackwellspace/code/site/versions/4.5.0/content/themes/casper/gulpfile.js:14
const pump = require(‘pump’);
^
SyntaxError: Identifier ‘pump’ has already been declared
at wrapSafe (internal/modules/cjs/loader.js:979:16)
at Module._compile (internal/modules/cjs/loader.js:1027:27)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at requireOrImport (/usr/local/lib/node_modules/gulp/node_modules/gulp-cli/lib/shared/require-or-import.js:19:11)
at execute (/usr/local/lib/node_modules/gulp/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js:37:3)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/node_modules/gulp-cli/index.js:211:24)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! casper@4.0.5 pretest: gulp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the casper@4.0.5 pretest script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/blackwellspace/.npm/_logs/2021-05-13T00_04_47_912Z-debug.log
- What steps could someone else take to reproduce the issue you’re having? I followed the guide step by step 4-5 times now… any suggestions and help would be much appreciated!