Mac OS X 10.14.6
joel@simon: ~/dev/cypress/tutorials/cypress-tutorial-build-todo-starter (master) $ ls
LICENSE db.json package-lock.json routes.json
webpack.config.js
README.md json-server.json package.json src
joel@simon: ~/dev/cypress/tutorials/cypress-tutorial-build-todo-starter (master) $ npm install
[email protected] install /Users/joel/dev/cypress/tutorials/cypress-tutorial-build-todo-starter/node_modules/fsevents
node install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v72-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.2/fse-v1.1.2-node-v72-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI) (falling back to source compile with node-gyp)
SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
CXX(target) Release/obj.target/fse/fsevents.o
In file included from In file included from ../fsevents.cc../fsevents.cc::66:
. . . many pages of spewing later ...
[email protected] postinstall /Users/joel/dev/cypress/tutorials/cypress-tutorial-build-todo-starter/node_modules/cypress
node index.js --exec install
Cypress 3.7.0 is installed in /Users/joel/Library/Caches/Cypress/3.7.0
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
added 868 packages from 652 contributors and audited 4779 packages in 16.568s
found 512 vulnerabilities (167 low, 15 moderate, 329 high, 1 critical)
run npm audit fix
to fix them, or npm audit
for details
Then, later, when I try to run it:
json-server requires at least version 4 of Node, please upgrade
[1] npm
[1] ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR!
[1] [email protected] serve: json-server db.json
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR!
[1] Failed at the [email protected] serve script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1]
[1] npm
[1] ERR! A complete log of this run can be found in:
[1] npm ERR! /Users/joel/.npm/_logs/2019-12-02T00_22_59_697Z-debug.log
but...
joel@simon: ~/dev/cypress/tutorials/cypress-tutorial-build-todo-starter (master) $ node --version
v12.12.0