olefredrik / FoundationPress

FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
https://foundationpress.olefredrik.com
MIT License
2.7k stars 869 forks source link

npm start, build, package all fail for all new FoundationPress installs #1357

Closed squidzink closed 5 years ago

squidzink commented 5 years ago

How can this bug be reproduced?

  1. Step one: Create any new project, install FoundationPress from github, run npm install (which now reports a long list of warnings)
  2. Step two: attempt to run npm start (or build or package)
  3. Step three: Start over with a new test site. Same results.

What did you expect to happen? I expected to install FP and being successfully working on a new site as I have seamlessly been able to.

What happened instead? I have repeatedly gotten the same errors after about 5 attempts. My existing sites, still function properly.

Please List the Following:

Extra Info: I'm not really savvy about the workings of node, web-pack, gulp etc, and I don't understand half the stuff in the output. I switched to running AMP natively on my Mac about 1.5 yrs ago when MAMP lagged in fixing a bug.

Any guidance would be appreciated. I have been unable to find answers in the past issues or they could have been over my head.

Include Test Case (if applicable):
NA

Terminal Output from last install:


INSTALL LOG

myusername:themes myusername$ git clone https://github.com/olefredrik/FoundationPress.git Cloning into 'FoundationPress'... remote: Enumerating objects: 22, done. remote: Counting objects: 100% (22/22), done. remote: Compressing objects: 100% (16/16), done. remote: Total 7633 (delta 8), reused 16 (delta 6), pack-reused 7611 Receiving objects: 100% (7633/7633), 10.46 MiB | 3.18 MiB/s, done. Resolving deltas: 100% (4235/4235), done. myusername:themes myusername$ cd FoundationPress myusername:FoundationPress myusername$ npm install npm WARN deprecated babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! npm WARN engine gulp-imagemin@5.0.3: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine foundation-sites@6.5.1: wanted: {"node":">=6.4.0","npm":">=2.14.2"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5 npm WARN engine imagemin@6.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine plur@3.0.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine pretty-bytes@5.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine imagemin-svgo@7.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine imagemin-gifsicle@6.0.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine imagemin-jpegtran@6.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine imagemin-optipng@6.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine irregular-plurals@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine is-jpg@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine jpegtran-bin@4.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine pify@4.0.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine file-type@10.7.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine gifsicle@4.0.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine is-gif@3.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine optipng-bin@5.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine file-type@10.7.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-wrapper@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-wrapper@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-wrapper@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine execa@1.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine pify@4.0.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-version-check@4.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine import-lazy@3.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine pify@4.0.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine download@7.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-version-check@4.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine import-lazy@3.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine download@7.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-version-check@4.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine import-lazy@3.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine download@7.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine pify@4.0.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine cross-spawn@6.0.5: wanted: {"node":">=4.8"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine get-stream@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-version@3.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-version@3.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine file-type@8.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine p-event@2.2.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine file-type@8.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine p-event@2.2.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine p-event@2.2.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine file-type@8.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine bin-version@3.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine execa@1.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine find-versions@3.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine find-versions@3.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine execa@1.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine find-versions@3.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN engine merge2@1.2.3: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine @nodelib/fs.stat@1.1.3: wanted: {"node":">= 6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine array-uniq@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine semver-regex@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine semver-regex@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine array-uniq@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine semver-regex@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine array-uniq@2.0.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine cross-spawn@6.0.5: wanted: {"node":">=4.8"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine get-stream@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine cross-spawn@6.0.5: wanted: {"node":">=4.8"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine get-stream@4.1.0: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"})

jpegtran-bin@4.0.0 postinstall /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin node lib/install.js

/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/node_modules/bin-wrapper/index.js:23 constructor(options = {}) { ^

SyntaxError: Unexpected token = at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin/lib/index.js:3:20) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10)

optipng-bin@5.1.0 postinstall /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin node lib/install.js

/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/node_modules/bin-wrapper/index.js:23 constructor(options = {}) { ^

SyntaxError: Unexpected token = at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin/lib/index.js:3:20) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) npm WARN optional dep failed, continuing imagemin-jpegtran@6.0.0

gifsicle@4.0.1 postinstall /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle node lib/install.js

/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/node_modules/bin-wrapper/index.js:23 constructor(options = {}) { ^

SyntaxError: Unexpected token = at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object. (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle/lib/index.js:3:20) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) npm WARN optional dep failed, continuing imagemin-optipng@6.0.0 npm WARN optional dep failed, continuing imagemin-gifsicle@6.0.1 npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine har-validator@5.1.3: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"4.4.0","npm":"2.14.20"})

uglifyjs-webpack-plugin@0.4.6 postinstall /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/webpack/node_modules/uglifyjs-webpack-plugin node lib/post_install.js

npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"}) npm WARN engine punycode@2.1.1: wanted: {"node":">=6"} (current: {"node":"4.4.0","npm":"2.14.20"})

fsevents@1.2.7 install /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp/node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents node install

node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack TypeError: this is not a typed array. node-pre-gyp ERR! stack at Function.from (native) node-pre-gyp ERR! stack at Unzip.write (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp/node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents/node_modules/minizlib/index.js:268:42) node-pre-gyp ERR! stack at Unpack.write (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp/node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents/node_modules/tar/lib/parse.js:300:58) node-pre-gyp ERR! stack at PassThrough.ondata (_stream_readable.js:528:20) node-pre-gyp ERR! stack at emitOne (events.js:77:13) node-pre-gyp ERR! stack at PassThrough.emit (events.js:169:7) node-pre-gyp ERR! stack at readableAddChunk (_stream_readable.js:146:16) node-pre-gyp ERR! stack at PassThrough.Readable.push (_stream_readable.js:110:10) node-pre-gyp ERR! stack at PassThrough.Transform.push (_stream_transform.js:127:32) node-pre-gyp ERR! stack at afterTransform (_stream_transform.js:76:12) node-pre-gyp ERR! System Darwin 18.2.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp/node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp/node_modules/glob-watcher/node_modules/chokidar/node_modules/fsevents node-pre-gyp ERR! node -v v4.4.0 node-pre-gyp ERR! node-pre-gyp -v v0.10.3 node-pre-gyp ERR! This is a bug in node-pre-gyp. node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help: node-pre-gyp ERR! https://github.com/mapbox/node-pre-gyp/issues npm WARN optional dep failed, continuing fsevents@1.2.7

fsevents@1.2.7 install /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents node install

node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack TypeError: this is not a typed array. node-pre-gyp ERR! stack at Function.from (native) node-pre-gyp ERR! stack at Unzip.write (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents/node_modules/minizlib/index.js:268:42) node-pre-gyp ERR! stack at Unpack.write (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents/node_modules/tar/lib/parse.js:300:58) node-pre-gyp ERR! stack at PassThrough.ondata (_stream_readable.js:528:20) node-pre-gyp ERR! stack at emitOne (events.js:77:13) node-pre-gyp ERR! stack at PassThrough.emit (events.js:169:7) node-pre-gyp ERR! stack at readableAddChunk (_stream_readable.js:146:16) node-pre-gyp ERR! stack at PassThrough.Readable.push (_stream_readable.js:110:10) node-pre-gyp ERR! stack at PassThrough.Transform.push (_stream_transform.js:127:32) node-pre-gyp ERR! stack at afterTransform (_stream_transform.js:76:12) node-pre-gyp ERR! System Darwin 18.2.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents node-pre-gyp ERR! node -v v4.4.0 node-pre-gyp ERR! node-pre-gyp -v v0.10.3 node-pre-gyp ERR! This is a bug in node-pre-gyp. node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help: node-pre-gyp ERR! https://github.com/mapbox/node-pre-gyp/issues npm WARN optional dep failed, continuing fsevents@1.2.7

fsevents@1.2.7 install /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents node install

node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack TypeError: this is not a typed array. node-pre-gyp ERR! stack at Function.from (native) node-pre-gyp ERR! stack at Unzip.write (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/minizlib/index.js:268:42) node-pre-gyp ERR! stack at Unpack.write (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/tar/lib/parse.js:300:58) node-pre-gyp ERR! stack at PassThrough.ondata (_stream_readable.js:528:20) node-pre-gyp ERR! stack at emitOne (events.js:77:13) node-pre-gyp ERR! stack at PassThrough.emit (events.js:169:7) node-pre-gyp ERR! stack at readableAddChunk (_stream_readable.js:146:16) node-pre-gyp ERR! stack at PassThrough.Readable.push (_stream_readable.js:110:10) node-pre-gyp ERR! stack at PassThrough.Transform.push (_stream_transform.js:127:32) node-pre-gyp ERR! stack at afterTransform (_stream_transform.js:76:12) node-pre-gyp ERR! System Darwin 18.2.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/webpack/node_modules/watchpack/node_modules/chokidar/node_modules/fsevents node-pre-gyp ERR! node -v v4.4.0 node-pre-gyp ERR! node-pre-gyp -v v0.10.3 node-pre-gyp ERR! This is a bug in node-pre-gyp. node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help: node-pre-gyp ERR! https://github.com/mapbox/node-pre-gyp/issues npm WARN optional dep failed, continuing fsevents@1.2.7

node-sass@4.11.0 install /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-sass/node_modules/node-sass node scripts/install.js

Cached binary found at /Users/myusername/.npm/node-sass/4.11.0/darwin-x64-46_binding.node

node-sass@4.11.0 postinstall /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-sass/node_modules/node-sass node scripts/build.js

Binary found at /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-sass/node_modules/node-sass/vendor/darwin-x64-46/binding.node Testing binary Binary is fine dateformat@3.0.3 node_modules/dateformat

what-input@4.3.1 node_modules/what-input

ansi-colors@1.1.0 node_modules/ansi-colors └── ansi-wrap@0.1.0

vinyl-named@1.1.0 node_modules/vinyl-named └── through@2.3.8

fancy-log@1.3.3 node_modules/fancy-log ├── parse-node-version@1.0.0 ├── time-stamp@1.1.0 ├── color-support@1.1.3 └── ansi-gray@0.1.1 (ansi-wrap@0.1.0)

motion-ui@1.2.3 node_modules/motion-ui

yargs@3.32.0 node_modules/yargs ├── decamelize@1.2.0 ├── camelcase@2.1.1 ├── y18n@3.2.1 ├── window-size@0.1.4 ├── cliui@3.2.0 (wrap-ansi@2.1.0, strip-ansi@3.0.1) ├── os-locale@1.4.0 (lcid@1.0.0) └── string-width@1.0.2 (code-point-at@1.1.0, strip-ansi@3.0.1, is-fullwidth-code-point@1.0.0)

gulp-extname@0.2.2 node_modules/gulp-extname ├── rewrite-ext@0.2.0 (ext-map@1.0.1) └── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6)

rimraf@2.6.3 node_modules/rimraf └── glob@7.1.3 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0, minimatch@3.0.4)

gulp-babel@6.1.3 node_modules/gulp-babel ├── object-assign@4.1.1 ├── replace-ext@0.0.1 ├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.7) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) └── plugin-error@1.0.1 (arr-union@3.1.0, arr-diff@4.0.0, extend-shallow@3.0.2)

gulp-sourcemaps@1.12.1 node_modules/gulp-sourcemaps ├── detect-newline@2.1.0 ├── graceful-fs@4.1.15 ├── strip-bom@2.0.0 (is-utf8@0.2.1) ├── convert-source-map@1.6.0 (safe-buffer@5.1.2) ├── vinyl@1.2.0 (clone-stats@0.0.1, clone@1.0.4, replace-ext@0.0.1) ├── source-map@0.6.1 ├── @gulp-sourcemaps/map-sources@1.0.0 (normalize-path@2.1.1) ├── acorn@4.0.13 ├── debug-fabulous@0.0.4 (object-assign@4.1.0, lazy-debug-legacy@0.0.1, debug@2.6.9) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) └── css@2.2.4 (inherits@2.0.3, urix@0.1.0, source-map-resolve@0.5.2)

gulp-zip@4.2.0 node_modules/gulp-zip ├── get-stream@3.0.0 ├── yazl@2.5.1 (buffer-crc32@0.2.13) ├── plugin-error@0.1.2 (arr-union@2.1.0, extend-shallow@1.1.4, ansi-cyan@0.1.1, ansi-red@0.1.1, arr-diff@1.1.0) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) └── vinyl@2.2.0 (replace-ext@1.0.0, clone-buffer@1.0.0, remove-trailing-separator@1.1.0, clone-stats@1.0.0, clone@2.1.2, cloneable-readable@1.1.2)

gulp-concat@2.6.1 node_modules/gulp-concat ├── concat-with-sourcemaps@1.1.0 (source-map@0.6.1) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) └── vinyl@2.2.0 (replace-ext@1.0.0, clone-buffer@1.0.0, remove-trailing-separator@1.1.0, clone-stats@1.0.0, clone@2.1.2, cloneable-readable@1.1.2)

webpack-stream@4.0.3 node_modules/webpack-stream ├── lodash.clone@4.5.0 ├── lodash.some@4.6.0 ├── through@2.3.8 ├── supports-color@5.5.0 (has-flag@3.0.0) ├── memory-fs@0.4.1 (errno@0.1.7, readable-stream@2.3.6) ├── plugin-error@1.0.1 (arr-union@3.1.0, arr-diff@4.0.0, extend-shallow@3.0.2) └── vinyl@2.2.0 (replace-ext@1.0.0, clone-buffer@1.0.0, clone-stats@1.0.0, remove-trailing-separator@1.1.0, clone@2.1.2, cloneable-readable@1.1.2)

gulp-rev@8.1.1 node_modules/gulp-rev ├── modify-filename@1.1.0 ├── rev-hash@2.0.0 ├── rev-path@2.0.0 ├── sort-keys@2.0.0 (is-plain-obj@1.1.0) ├── plugin-error@0.1.2 (arr-union@2.1.0, extend-shallow@1.1.4, ansi-red@0.1.1, ansi-cyan@0.1.1, arr-diff@1.1.0) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) ├── vinyl@2.2.0 (replace-ext@1.0.0, clone-buffer@1.0.0, clone-stats@1.0.0, remove-trailing-separator@1.1.0, clone@2.1.2, cloneable-readable@1.1.2) └── vinyl-file@3.0.0 (pify@2.3.0, graceful-fs@4.1.15, strip-bom-buf@1.0.0, strip-bom-stream@2.0.0)

gulp-if@2.0.2 node_modules/gulp-if ├── gulp-match@1.0.3 (minimatch@3.0.4) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) └── ternary-stream@2.0.1 (fork-stream@0.0.4, merge-stream@1.0.1, duplexify@3.6.1)

js-yaml@3.12.1 node_modules/js-yaml ├── esprima@4.0.1 └── argparse@1.0.10 (sprintf-js@1.0.3)

gulp-phpcbf@0.1.2 node_modules/gulp-phpcbf ├── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.34) └── gulp-util@3.0.8 (array-differ@1.0.0, object-assign@3.0.0, lodash._reinterpolate@3.0.0, lodash._reescape@3.0.0, beeper@1.1.1, array-uniq@1.0.3, lodash._reevaluate@3.0.0, replace-ext@0.0.1, dateformat@2.2.0, has-gulplog@0.1.0, minimist@1.2.0, vinyl@0.5.3, chalk@1.1.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.5, multipipe@0.1.2)

gulp-phpcs@2.2.0 node_modules/gulp-phpcs ├── pluralize@1.2.1 ├── which@1.3.1 (isexe@2.0.0) ├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, has-ansi@2.0.0, strip-ansi@3.0.1) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) └── gulp-util@3.0.8 (array-differ@1.0.0, array-uniq@1.0.3, lodash._reescape@3.0.0, lodash._reinterpolate@3.0.0, lodash._reevaluate@3.0.0, object-assign@3.0.0, beeper@1.1.1, replace-ext@0.0.1, dateformat@2.2.0, has-gulplog@0.1.0, minimist@1.2.0, vinyl@0.5.3, lodash.template@3.6.2, gulplog@1.0.0, multipipe@0.1.2)

babel-loader@7.1.5 node_modules/babel-loader ├── mkdirp@0.5.1 (minimist@0.0.8) ├── loader-utils@1.2.3 (emojis-list@2.1.0, big.js@5.2.2, json5@1.0.1) └── find-cache-dir@1.0.0 (commondir@1.0.1, make-dir@1.3.0, pkg-dir@2.0.0)

gulp-load-plugins@1.5.0 node_modules/gulp-load-plugins ├── array-unique@0.2.1 ├── has-gulplog@0.1.0 (sparkles@1.0.1) ├── gulplog@1.0.0 (glogg@1.0.2) ├── micromatch@2.3.11 (is-glob@2.0.1, is-extglob@1.0.0, filename-regex@2.0.1, extglob@0.3.2, arr-diff@2.0.0, normalize-path@2.1.1, expand-brackets@0.1.5, kind-of@3.2.2, object.omit@2.0.1, regex-cache@0.4.4, parse-glob@3.0.4, braces@1.8.5) ├── findup-sync@0.4.3 (is-glob@2.0.1, detect-file@0.1.0, resolve-dir@0.1.1) └── resolve@1.10.0 (path-parse@1.0.6)

jquery@3.0.0 node_modules/jquery

gulp-uglify@1.5.4 node_modules/gulp-uglify ├── uglify-save-license@0.4.1 ├── deap@1.0.1 ├── isobject@2.1.0 (isarray@1.0.0) ├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.7) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) ├── gulp-util@3.0.8 (array-differ@1.0.0, array-uniq@1.0.3, lodash._reescape@3.0.0, lodash._reinterpolate@3.0.0, beeper@1.1.1, lodash._reevaluate@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, dateformat@2.2.0, has-gulplog@0.1.0, minimist@1.2.0, vinyl@0.5.3, chalk@1.1.3, gulplog@1.0.0, lodash.template@3.6.2, multipipe@0.1.2) └── uglify-js@2.6.4 (async@0.2.10, uglify-to-browserify@1.0.2, source-map@0.5.7, yargs@3.10.0)

gulp-clean-css@3.10.0 node_modules/gulp-clean-css ├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.7) ├── through2@2.0.3 (xtend@4.0.1, readable-stream@2.3.6) ├── plugin-error@1.0.1 (arr-union@3.1.0, arr-diff@4.0.0, extend-shallow@3.0.2) └── clean-css@4.2.1 (source-map@0.6.1)

gulp-imagemin@5.0.3 node_modules/gulp-imagemin ├── pretty-bytes@5.1.0 ├── plur@3.0.1 (irregular-plurals@2.0.0) ├── chalk@2.4.2 (escape-string-regexp@1.0.5, supports-color@5.5.0, ansi-styles@3.2.1) ├── plugin-error@1.0.1 (arr-union@3.1.0, arr-diff@4.0.0, extend-shallow@3.0.2) ├── through2-concurrent@2.0.0 (through2@2.0.5) ├── imagemin@6.1.0 (replace-ext@1.0.0, p-pipe@1.2.0, pify@4.0.1, file-type@10.7.1, make-dir@1.3.0, globby@8.0.2) └── imagemin-svgo@7.0.0 (is-svg@3.0.0, svgo@1.1.1)

gulp@4.0.0 node_modules/gulp ├── vinyl-fs@3.0.3 (is-valid-glob@1.0.0, to-through@2.0.0, resolve-options@1.1.0, value-or-function@3.0.0, fs-mkdirp-stream@1.0.0, graceful-fs@4.1.15, lazystream@1.0.0, remove-bom-stream@1.2.0, remove-bom-buffer@3.0.0, through2@2.0.5, lead@1.0.0, vinyl@2.2.0, object.assign@4.1.0, readable-stream@2.3.6, vinyl-sourcemap@1.1.0, pumpify@1.5.1, glob-stream@6.1.0) ├── undertaker@1.2.0 (arr-flatten@1.1.0, undertaker-registry@1.0.1, last-run@1.1.1, object.defaults@1.1.0, object.reduce@1.0.1, collection-map@1.0.0, arr-map@2.0.2, bach@1.2.0, es6-weak-map@2.0.2) └── glob-watcher@5.0.3 (is-negated-glob@1.0.0, just-debounce@1.0.0, async-done@1.3.1, object.defaults@1.1.0, anymatch@2.0.0, chokidar@2.0.4)

gulp-autoprefixer@3.1.1 node_modules/gulp-autoprefixer ├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.7) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) ├── postcss@5.2.18 (supports-color@3.2.3, js-base64@2.5.1, source-map@0.5.7, chalk@1.1.3) ├── gulp-util@3.0.8 (array-differ@1.0.0, object-assign@3.0.0, beeper@1.1.1, lodash._reinterpolate@3.0.0, array-uniq@1.0.3, lodash._reevaluate@3.0.0, lodash._reescape@3.0.0, replace-ext@0.0.1, dateformat@2.2.0, has-gulplog@0.1.0, minimist@1.2.0, vinyl@0.5.3, chalk@1.1.3, gulplog@1.0.0, lodash.template@3.6.2, multipipe@0.1.2) └── autoprefixer@6.7.7 (normalize-range@0.1.2, num2fraction@1.2.2, postcss-value-parser@3.3.1, browserslist@1.7.7, caniuse-db@1.0.30000932)

gulp-cli@2.0.1 node_modules/gulp-cli ├── mute-stdout@1.0.1 ├── isobject@3.0.1 ├── interpret@1.2.0 ├── pretty-hrtime@1.0.3 ├── color-support@1.1.3 ├── archy@1.0.0 ├── array-sort@1.0.0 (get-value@2.0.6, default-compare@1.0.0, kind-of@5.1.0) ├── gulplog@1.0.0 (glogg@1.0.2) ├── v8flags@3.1.2 (homedir-polyfill@1.0.1) ├── concat-stream@1.6.2 (buffer-from@1.1.1, inherits@2.0.3, typedarray@0.0.6, readable-stream@2.3.6) ├── copy-props@2.0.4 (is-plain-object@2.0.4, each-props@1.3.2) ├── replace-homedir@1.0.0 (remove-trailing-separator@1.1.0, homedir-polyfill@1.0.1, is-absolute@1.0.0) ├── yargs@7.1.0 (get-caller-file@1.0.3, decamelize@1.2.0, y18n@3.2.1, camelcase@3.0.0, which-module@1.0.0, set-blocking@2.0.0, yargs-parser@5.0.0, require-main-filename@1.0.1, require-directory@2.1.1, string-width@1.0.2, cliui@3.2.0, os-locale@1.4.0, read-pkg-up@1.0.1) ├── matchdep@2.0.0 (stack-trace@0.0.10, findup-sync@2.0.0, resolve@1.10.0, micromatch@3.1.10) ├── liftoff@2.5.0 (is-plain-object@2.0.4, flagged-respawn@1.0.1, rechoir@0.6.2, extend@3.0.2, object.map@1.0.1, fined@1.1.1, resolve@1.10.0, findup-sync@2.0.0) └── semver-greatest-satisfied-range@1.1.0 (sver-compat@1.5.0)

foundation-sites@6.5.1 node_modules/foundation-sites

style-sherpa@1.0.2 node_modules/style-sherpa ├── string-template@0.2.1 ├── marked@0.3.19 ├── highlight.js@8.9.1 └── handlebars@4.0.12 (source-map@0.6.1, uglify-js@3.4.9, optimist@0.6.1, async@2.6.1)

babel-register@6.26.0 node_modules/babel-register ├── home-or-tmp@2.0.0 (os-homedir@1.0.2, os-tmpdir@1.0.2) ├── source-map-support@0.4.18 (source-map@0.5.7) ├── mkdirp@0.5.1 (minimist@0.0.8) ├── babel-runtime@6.26.0 (regenerator-runtime@0.11.1) ├── lodash@4.17.11 └── core-js@2.6.3

webpack@3.12.0 node_modules/webpack ├── tapable@0.2.9 ├── interpret@1.2.0 ├── json-loader@0.5.7 ├── loader-runner@2.4.0 ├── json5@0.5.1 ├── supports-color@4.5.0 (has-flag@2.0.0) ├── acorn@5.7.3 ├── source-map@0.5.7 ├── ajv-keywords@3.3.0 ├── mkdirp@0.5.1 (minimist@0.0.8) ├── webpack-sources@1.3.0 (source-list-map@2.0.1, source-map@0.6.1) ├── enhanced-resolve@3.4.1 (object-assign@4.1.1, graceful-fs@4.1.15) ├── memory-fs@0.4.1 (errno@0.1.7, readable-stream@2.3.6) ├── acorn-dynamic-import@2.0.2 (acorn@4.0.13) ├── loader-utils@1.2.3 (emojis-list@2.1.0, big.js@5.2.2, json5@1.0.1) ├── yargs@8.0.2 (get-caller-file@1.0.3, decamelize@1.2.0, camelcase@4.1.0, y18n@3.2.1, set-blocking@2.0.0, which-module@2.0.0, yargs-parser@7.0.0, require-main-filename@1.0.1, require-directory@2.1.1, string-width@2.1.1, cliui@3.2.0, os-locale@2.1.0, read-pkg-up@2.0.0) ├── uglifyjs-webpack-plugin@0.4.6 (uglify-js@2.8.29) ├── node-libs-browser@2.2.0 (tty-browserify@0.0.0, path-browserify@0.0.0, https-browserify@1.0.0, punycode@1.4.1, constants-browserify@1.0.0, domain-browser@1.2.0, os-browserify@0.3.0, process@0.11.10, querystring-es3@0.2.1, string_decoder@1.2.0, stream-browserify@2.0.2, util@0.11.1, timers-browserify@2.0.10, vm-browserify@0.0.4, events@3.0.0, console-browserify@1.1.0, url@0.11.0, readable-stream@2.3.6, assert@1.4.1, stream-http@2.8.3, browserify-zlib@0.2.0, buffer@4.9.1, crypto-browserify@3.12.0) ├── ajv@6.7.0 (fast-deep-equal@2.0.1, json-schema-traverse@0.4.1, fast-json-stable-stringify@2.0.0, uri-js@4.2.2) ├── escope@3.6.0 (esrecurse@4.2.1, estraverse@4.2.0, es6-weak-map@2.0.2, es6-map@0.1.5) ├── watchpack@1.6.0 (graceful-fs@4.1.15, neo-async@2.6.0, chokidar@2.0.4) └── async@2.6.1 (lodash@4.17.11)

panini@1.6.3 node_modules/panini ├── slash@1.0.0 ├── deepmerge@1.5.2 ├── strip-bom@2.0.0 (is-utf8@0.2.1) ├── front-matter@2.3.0 ├── marked@0.3.19 ├── nopt@4.0.1 (abbrev@1.1.1, osenv@0.1.5) ├── glob@7.1.3 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6, minimatch@3.0.4) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) ├── vinyl-fs@2.4.4 (vali-date@1.0.0, is-valid-glob@0.3.0, object-assign@4.1.1, merge-stream@1.0.1, lodash.isequal@4.5.0, graceful-fs@4.1.15, lazystream@1.0.0, strip-bom-stream@1.0.0, through2-filter@2.0.0, vinyl@1.2.0, gulp-sourcemaps@1.6.0, readable-stream@2.3.6, mkdirp@0.5.1, duplexify@3.6.1, glob-stream@5.3.5) ├── highlight.js@8.9.1 └── handlebars@4.0.12 (source-map@0.6.1, uglify-js@3.4.9, optimist@0.6.1, async@2.6.1)

gulp-sass@3.2.1 node_modules/gulp-sass ├── lodash.clonedeep@4.5.0 ├── vinyl-sourcemaps-apply@0.2.1 (source-map@0.5.7) ├── through2@2.0.5 (xtend@4.0.1, readable-stream@2.3.6) ├── gulp-util@3.0.8 (array-differ@1.0.0, lodash._reevaluate@3.0.0, array-uniq@1.0.3, lodash._reinterpolate@3.0.0, beeper@1.1.1, lodash._reescape@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, dateformat@2.2.0, has-gulplog@0.1.0, minimist@1.2.0, vinyl@0.5.3, chalk@1.1.3, lodash.template@3.6.2, gulplog@1.0.0, multipipe@0.1.2) └── node-sass@4.11.0 (get-stdin@4.0.1, lodash.assign@4.2.0, true-case-path@1.0.3, lodash.mergewith@4.6.1, async-foreach@0.1.3, in-publish@2.0.0, chalk@1.1.3, nan@2.12.1, mkdirp@0.5.1, cross-spawn@3.0.1, glob@7.1.3, stdout-stream@1.4.1, npmlog@4.1.2, meow@3.7.0, node-gyp@3.8.0, request@2.88.0, sass-graph@2.2.4, gaze@1.1.3)

babel-core@6.26.3 node_modules/babel-core ├── slash@1.0.0 ├── babel-messages@6.23.0 ├── path-is-absolute@1.0.1 ├── private@0.1.8 ├── babel-helpers@6.24.1 ├── babel-template@6.26.0 ├── json5@0.5.1 ├── babylon@6.18.0 ├── convert-source-map@1.6.0 (safe-buffer@5.1.2) ├── source-map@0.5.7 ├── debug@2.6.9 (ms@2.0.0) ├── minimatch@3.0.4 (brace-expansion@1.1.11) ├── babel-types@6.26.0 (to-fast-properties@1.0.3, esutils@2.0.2) ├── babel-code-frame@6.26.0 (js-tokens@3.0.2, esutils@2.0.2, chalk@1.1.3) ├── babel-traverse@6.26.0 (globals@9.18.0, invariant@2.2.4) ├── babel-generator@6.26.1 (trim-right@1.0.1, jsesc@1.3.0, detect-indent@4.0.0) ├── lodash@4.17.11 └── babel-runtime@6.26.0 (regenerator-runtime@0.11.1, core-js@2.6.3)

babel-preset-es2015@6.24.1 node_modules/babel-preset-es2015 ├── babel-plugin-transform-es2015-literals@6.22.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-template-literals@6.22.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-modules-umd@6.24.1 (babel-template@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-check-es2015-constants@6.22.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-shorthand-properties@6.24.1 (babel-types@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-duplicate-keys@6.24.1 (babel-types@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-block-scoped-functions@6.22.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-for-of@6.23.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-modules-amd@6.24.1 (babel-template@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-computed-properties@6.24.1 (babel-template@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-typeof-symbol@6.23.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-arrow-functions@6.22.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-modules-commonjs@6.26.2 (babel-plugin-transform-strict-mode@6.24.1, babel-template@6.26.0, babel-types@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-spread@6.22.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-object-super@6.24.1 (babel-helper-replace-supers@6.24.1, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-destructuring@6.23.0 (babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-function-name@6.24.1 (babel-types@6.26.0, babel-helper-function-name@6.24.1, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-sticky-regex@6.24.1 (babel-helper-regex@6.26.0, babel-types@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-modules-systemjs@6.24.1 (babel-template@6.26.0, babel-helper-hoist-variables@6.24.1, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-unicode-regex@6.24.1 (regexpu-core@2.0.0, babel-helper-regex@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-block-scoping@6.26.0 (babel-template@6.26.0, babel-types@6.26.0, babel-traverse@6.26.0, lodash@4.17.11, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-parameters@6.24.1 (babel-helper-get-function-arity@6.24.1, babel-helper-call-delegate@6.24.1, babel-template@6.26.0, babel-types@6.26.0, babel-traverse@6.26.0, babel-runtime@6.26.0) ├── babel-plugin-transform-es2015-classes@6.24.1 (babel-helper-replace-supers@6.24.1, babel-messages@6.23.0, babel-helper-optimise-call-expression@6.24.1, babel-helper-function-name@6.24.1, babel-helper-define-map@6.26.0, babel-template@6.26.0, babel-types@6.26.0, babel-traverse@6.26.0, babel-runtime@6.26.0) └── babel-plugin-transform-regenerator@6.26.0 (regenerator-transform@0.10.1)

browser-sync@2.26.3 node_modules/browser-sync ├── server-destroy@1.0.1 ├── etag@1.8.1 ├── fresh@0.5.2 ├── connect-history-api-fallback@1.6.0 ├── bs-snippet-injector@2.0.1 ├── dev-ip@1.0.1 ├── qs@6.2.3 ├── immutable@3.8.2 ├── ua-parser-js@0.7.17 ├── opn@5.3.0 (is-wsl@1.1.0) ├── serve-static@1.13.2 (escape-html@1.0.3, encodeurl@1.0.2, parseurl@1.3.2) ├── http-proxy@1.15.2 (eventemitter3@1.2.0, requires-port@1.0.0) ├── send@0.16.2 (escape-html@1.0.3, destroy@1.0.4, ms@2.0.0, encodeurl@1.0.2, range-parser@1.2.0, statuses@1.4.0, mime@1.4.1, depd@1.1.2, debug@2.6.9, on-finished@2.3.0, http-errors@1.6.3) ├── portscanner@2.1.1 (async@1.5.2, is-number-like@1.0.8) ├── connect@3.6.6 (utils-merge@1.0.1, parseurl@1.3.2, debug@2.6.9, finalhandler@1.1.0) ├── resp-modifier@6.0.2 (debug@2.6.9, minimatch@3.0.4) ├── raw-body@2.3.3 (unpipe@1.0.0, bytes@3.0.0, http-errors@1.6.3, iconv-lite@0.4.23) ├── eazy-logger@3.0.2 (tfunk@3.1.0) ├── fs-extra@3.0.1 (universalify@0.1.2, jsonfile@3.0.1, graceful-fs@4.1.15) ├── micromatch@2.3.11 (is-extglob@1.0.0, is-glob@2.0.1, filename-regex@2.0.1, array-unique@0.2.1, extglob@0.3.2, normalize-path@2.1.1, kind-of@3.2.2, arr-diff@2.0.0, expand-brackets@0.1.5, object.omit@2.0.1, regex-cache@0.4.4, parse-glob@3.0.4, braces@1.8.5) ├── serve-index@1.9.1 (escape-html@1.0.3, parseurl@1.3.2, batch@0.6.1, mime-types@2.1.21, accepts@1.3.5, http-errors@1.6.3, debug@2.6.9) ├── socket.io@2.1.1 (socket.io-adapter@1.1.1, has-binary2@1.0.3, socket.io-parser@3.2.0, debug@3.1.0, engine.io@3.2.1, socket.io-client@2.1.1) ├── yargs@6.4.0 (get-caller-file@1.0.3, decamelize@1.2.0, camelcase@3.0.0, y18n@3.2.1, which-module@1.0.0, set-blocking@2.0.0, window-size@0.2.0, yargs-parser@4.2.1, require-main-filename@1.0.1, require-directory@2.1.1, cliui@3.2.0, os-locale@1.4.0, string-width@1.0.2, read-pkg-up@1.0.1) ├── localtunnel@1.9.1 (openurl@1.1.1, debug@2.6.9, axios@0.17.1, yargs@6.6.0) ├── bs-recipes@1.3.4 ├── browser-sync-ui@2.26.2 (async-each-series@0.1.1, stream-throttle@0.1.3, socket.io-client@2.2.0) ├── rx@4.1.0 ├── chokidar@2.0.4 (lodash.debounce@4.0.8, path-is-absolute@1.0.1, inherits@2.0.3, async-each@1.0.1, upath@1.1.0, is-glob@4.0.0, is-binary-path@1.0.1, normalize-path@2.1.1, glob-parent@3.1.0, braces@2.3.2, readdirp@2.2.1, anymatch@2.0.0) ├── easy-extender@2.3.4 (lodash@4.17.11) └── browser-sync-client@2.26.2 (mitt@1.1.3, rxjs@5.5.12)



Terminal output from npm start:


START LOG

myusername:FoundationPress myusername$ npm start

foundationpress@2.10.4 start /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress gulp

[15:45:20] Failed to load external module @babel/register [15:45:20] Requiring external module babel-register [15:45:24] Loading config file... [15:45:24] config.yml does not exist, loading config-default.yml [15:45:24] Using gulpfile ~/Sites/foundationpress-raw/wp-content/themes/FoundationPress/gulpfile.babel.js [15:45:24] Starting 'default'... [15:45:24] Starting 'build'... [15:45:24] Starting 'clean'... [15:45:24] Finished 'clean' after 2.54 ms [15:45:24] Starting 'sass'... [15:45:24] Starting 'webpack:build'... [15:45:24] Starting 'images'... [15:45:24] Starting 'copy'... [15:45:24] 'images' errored after 680 ms [15:45:24] SyntaxError: Unexpected token ... at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Module._extensions..js (module.js:416:10) at Object.require.extensions.(anonymous function) [as .js] (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/babel-register/lib/node.js:152:7) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at requireFn (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-load-plugins/index.js:75:14) at Object.defineProperty.get [as imagemin] (/Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/node_modules/gulp-load-plugins/index.js:117:41) [15:45:24] 'build' errored after 687 ms [15:45:24] 'default' errored after 688 ms [15:45:24] The following tasks did not complete: sass, webpack:build, copy [15:45:24] Did you forget to signal async completion?

npm ERR! Darwin 18.2.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v4.4.0 npm ERR! npm v2.14.20 npm ERR! code ELIFECYCLE npm ERR! foundationpress@2.10.4 start: gulp npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the foundationpress@2.10.4 start script 'gulp'. npm ERR! This is most likely a problem with the foundationpress package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs foundationpress npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm ERR! npm owner ls foundationpress npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/myusername/Sites/foundationpress-raw/wp-content/themes/FoundationPress/npm-debug.log myusername:FoundationPress myusername$



dantahoua commented 5 years ago

I think you should upgrade your Node version. On my Mac (Mojave also), I have Node v8.12.0 (npm v6.4.1). Don't forget to use nvm for having different version of node. I always keep a txt file in each theme I made with the command to use (grunt, npm watch, npm start depending of the FoundatinPress version and a .nvmrc file with the node version working with the theme)) :)

squidzink commented 5 years ago

Thanks for the input @dantahoua. I'll see if I can figure that out with some digging. Since I've primarily a designer who's cheated my way here via tutorials, I am wary.

I was under the impression that Node should be between 4 and 6 for FoundationPress.

derweili commented 5 years ago

Please switch to to node >= 6.11

I think the node version in the readme should be updated.

squidzink commented 5 years ago

@derweili I will do that first. Thanks.

squidzink commented 5 years ago

Thanks guys! I updated node to 6.11. That didn't quite get there. So I updated npm to 6.4.1 as @dantahoua mentioned using above. That allowed running a new install and start, successfully building the /dist assets.