[moved to issue] Tutorial problem: TypeError: Class extends value undefined is not a constructor or null

anon23:print-on-demand-2 ajoslin$ node -v
v16.5.0
anon23:print-on-demand-2 ajoslin$ yarn -v
3.2.0

yarn create redwood-app --ts ./redwoodblog

fatal error: too many errors emitted, stopping now [-ferror-limit=]
5 warnings and 20 errors generated.
make: *** [Release/obj.target/weakref/src/weakref.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/ajoslin/.nvm/versions/node/v16.5.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:394:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Darwin 21.4.0
gyp ERR! command \"/Users/ajoslin/.nvm/versions/node/v16.5.0/bin/node\" \"/Users/ajoslin/.nvm/versions/node/v16.5.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /Users/ajoslin/.config/yarn/global/node_modules/weak
gyp ERR! node -v v16.5.0
gyp ERR! node-gyp -v v9.0.0
gyp ERR! not ok"

(no luck: I re-installed node-gyp via npm install -g node-gyp)

then it continues with…

success Installed "create-redwood-app@2.2.3" with binaries:
      - create-redwood-app
  ✔ Creating Redwood app
    ✔ Checking node and yarn compatibility
    ✔ Creating directory '/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog'
  ✔ Installing packages
    ✔ Running 'yarn install'... (This could take a while)
  ✖ Generating types
    →     at Module._compile (node:internal/modules/cjs/loader:1095:14)

Error: Command failed with exit code 1: yarn rw-gen
/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/node_modules/@whatwg-node/fetch/dist/create-node-ponyfill.js:163
      class Request extends OriginalRequest {
                            ^

TypeError: Class extends value undefined is not a constructor or null
    at createNodePonyfill (/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/node_modules/@whatwg-node/fetch/dist/create-node-ponyfill.js:163:29)
    at Object.<anonymous> (/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/node_modules/@whatwg-node/fetch/dist/node-ponyfill.js:3:19)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:93:18)
    at Object.<anonymous> (/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/cjs/server.js:10:47)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at makeError (/Users/ajoslin/.config/yarn/global/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/ajoslin/.config/yarn/global/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  shortMessage: 'Command failed with exit code 1: yarn rw-gen',
  command: 'yarn rw-gen',
  escapedCommand: '"yarn rw-gen"',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: '',
  stderr: '/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/node_modules/@whatwg-node/fetch/dist/create-node-ponyfill.js:163\n' +
    '      class Request extends OriginalRequest {\n' +
    '                            ^\n' +
    '\n' +
    'TypeError: Class extends value undefined is not a constructor or null\n' +
    '    at createNodePonyfill (/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/node_modules/@whatwg-node/fetch/dist/create-node-ponyfill.js:163:29)\n' +
    '    at Object.<anonymous> (/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/node_modules/@whatwg-node/fetch/dist/node-ponyfill.js:3:19)\n' +
    '    at Module._compile (node:internal/modules/cjs/loader:1095:14)\n' +
    '    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)\n' +
    '    at Module.load (node:internal/modules/cjs/loader:975:32)\n' +
    '    at Function.Module._load (node:internal/modules/cjs/loader:816:12)\n' +
    '    at Module.require (node:internal/modules/cjs/loader:999:19)\n' +
    '    at require (node:internal/modules/cjs/helpers:93:18)\n' +
    '    at Object.<anonymous> (/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog/node_modules/@graphql-yoga/common/cjs/server.js:10:47)\n' +
    '    at Module._compile (node:internal/modules/cjs/loader:1095:14)',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false,
  context: [Object: null prototype] {}
}

Warning: Directory '/Users/ajoslin/Documents/Als/Development/EPC/Development/redwoodblog' was created. However, the installation could not complete due to an error.

error Command failed.
Exit code: 1
Command: /usr/local/bin/create-redwood-app
Arguments: --ts ./redwoodblog
Directory: /Users/ajoslin/Documents/Als/Development/EPC/Development
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.

this problem is being addressed here: [Bug?]: yarn create redwood-app fails on node 16.17.0 LTS · Issue #6338 · redwoodjs/redwood · GitHub

TLDR; use 16.4.0 or 16.8.0