[Redwood Blog Tutorial] Crash at yarn rw setup auth dbAuth

I have to say I was very impressed so far … but then it all crashed.

the command
yarn rw setup auth dbAuth
chundered through its “Adding …”
until an “Command failed with exit code 1.”

Preformatted text

Command failed with exit code 1: yarn workspace web add @redwoodjs/auth@0.45.0
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > web > @redwoodjs/forms@0.45.0" has unmet peer dependency "graphql@16.3.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @babel/eslint-plugin@7.16.5" has unmet peer dependency 
"@babel/eslint-parser@>=7.11.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @babel/eslint-plugin@7.16.5" has unmet peer dependency 
"eslint@>=7.5.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > api > @redwoodjs/graphql-server > @envelop/depth-limit@1.2.3" has incorrect peer dependency "@envelop/core@^2.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > api > @redwoodjs/graphql-server > @envelop/disable-introspection@3.0.0" has incorrect peer dependency "@envelop/core@^2.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > api > @redwoodjs/graphql-server > @envelop/filter-operation-type@3.0.0" has incorrect peer dependency "@envelop/core@^2.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > api > @redwoodjs/graphql-server > @envelop/parser-cache@4.0.0" has incorrect peer dependency "@envelop/core@^2.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > api > @redwoodjs/graphql-server > @envelop/validation-cache@4.0.0" has incorrect peer dependency "@envelop/core@^2.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/cli > @redwoodjs/prerender@0.45.0" has unmet peer dependency "react@17.0.2".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/cli > @redwoodjs/prerender@0.45.0" has unmet peer dependency "react-dom@17.0.2".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @testing-library/react@12.1.2" has unmet peer dependency "react@*".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @testing-library/react@12.1.2" has unmet peer dependency "react-dom@*".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @testing-library/user-event@13.5.0" has unmet peer dependency "@testing-library/dom@>=7.21.4".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > web > @redwoodjs/web > react-hot-toast > goober@2.1.7" has unmet peer dependency "csstype@^2.6.2".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/addons@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".  
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/addons@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/api@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".     
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/api@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0". 
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/theming@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0". 
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/theming@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/client-api@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/client-api@6.4.18" has unmet peer dependency "react-dom@^16.8.0 
|| ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/core-common@6.4.18" has unmet peer dependency "react@^16.8.0 || 
^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/core-common@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/preview-web@6.4.18" has unmet peer dependency "react@^16.8.0 || 
^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/preview-web@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/router@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/router@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/store@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/store@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5 > @storybook/core-client@6.4.18" has unmet peer dependency "react@^16.8.0 || 
^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5 > @storybook/core-client@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5 > @storybook/ui@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5 > @storybook/ui@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".     
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > markdown-to-jsx@7.1.6" has unmet peer dependency "react@>= 0.14.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-colorful@5.5.1" has unmet peer dependency "react@>=16.8.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-colorful@5.5.1" has unmet peer dependency "react-dom@>=16.8.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-popper-tooltip@3.1.1" has unmet peer dependency "react@^16.6.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-popper-tooltip@3.1.1" has unmet peer dependency "react-dom@^16.6.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-syntax-highlighter@13.5.3" has unmet peer dependency "react@>= 0.14.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-textarea-autosize@8.3.3" has unmet peer dependency 
"react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/theming > @emotion/core@10.3.1" has unmet peer dependency "react@>=16.3.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/theming > @emotion/styled@10.3.0" has unmet peer dependency "react@>=16.3.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/theming > emotion-theming@10.3.0" has unmet peer dependency "react@>=16.3.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/router > react-router@6.2.1" has unmet peer dependency "react@>=16.8".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/router > react-router-dom@6.2.1" has unmet peer dependency "react@>=16.8".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/builder-webpack5 > @storybook/router > react-router-dom@6.2.1" has unmet peer dependency "react-dom@>=16.8".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5 > @storybook/ui > downshift@6.1.7" has unmet peer dependency "react@>=16.12.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5 > @storybook/ui > react-draggable@4.4.4" has unmet peer dependency "react@>= 
16.3.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/manager-webpack5 > @storybook/ui > react-draggable@4.4.4" has unmet peer dependency "react-dom@>= 16.3.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core > @storybook/core-server@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core > @storybook/core-server@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/internal > @graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-tools/relay-operation-optimizer > relay-compiler@12.0.0" has incorrect peer dependency "graphql@^15.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-popper-tooltip > react-popper@2.2.5" has unmet peer dependency "react@^16.8.0 || ^17".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-textarea-autosize > use-composed-ref@1.2.1" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-textarea-autosize > use-latest@1.2.0" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/theming > @emotion/styled > @emotion/styled-base@10.3.0" has unmet peer dependency "react@>=16.3.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core > @storybook/core-server > @storybook/builder-webpack4@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core > @storybook/core-server > @storybook/builder-webpack4@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core > @storybook/core-server > @storybook/manager-webpack4@6.4.18" has unmet peer dependency "react@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/react > @storybook/core > @storybook/core-server > @storybook/manager-webpack4@6.4.18" has unmet peer dependency "react-dom@^16.8.0 || ^17.0.0".
warning "workspace-aggregator-1827eb86-8017-4e14-a4cd-e9d06f586256 > @redwoodjs/core > @redwoodjs/testing > @storybook/addon-a11y > @storybook/components > react-textarea-autosize > use-latest > use-isomorphic-layout-effect@1.1.1" has unmet peer dependency "react@^16.8.0 || ^17.0.0".error An unexpected error occurred: "EPERM: operation not permitted, unlink 'D:\\WEB\\_nodejs\\redwoodblog\\node_modules\\prisma\\engines\\bcc2ff906db47790ee902e7bbc76d7ffb1893009\\query_engine-windows.dll.node'".error Command failed.
Exit code: 1
Command: C:\Program Files\nodejs\node.exe
Arguments: C:\Users\Mike\.yarn\releases\yarn-1.22.5.js add @redwoodjs/auth@0.45.0
Directory: D:\WEB\_nodejs\redwoodblog\web
Output:
[1/4] Resolving packages...
[2/4] Fetching packages...
info esbuild-android-arm64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-android-arm64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-android-arm64@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-darwin-64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-darwin-64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-darwin-arm64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-darwin-arm64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-darwin-arm64@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-freebsd-64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-freebsd-64@0.14.21" is an optional dependency and failed 
compatibility check. Excluding it from installation.
info esbuild-freebsd-arm64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-freebsd-arm64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-freebsd-arm64@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-32@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-linux-32@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-32@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-linux-64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-linux-arm@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-arm64@0.14.21: The platform "win32" is incompatible 
with this module.
info "esbuild-linux-arm64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-arm64@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-mips64le@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-linux-mips64le@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-mips64le@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-ppc64le@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-linux-ppc64le@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-ppc64le@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-riscv64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-linux-riscv64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-riscv64@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-linux-s390x@0.14.21: The platform "win32" is incompatible 
with this module.
info "esbuild-linux-s390x@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-linux-s390x@0.14.21: The CPU architecture "x64" is incompatible with this module.
info esbuild-netbsd-64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-netbsd-64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-openbsd-64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-openbsd-64@0.14.21" is an optional dependency and failed 
compatibility check. Excluding it from installation.
info esbuild-sunos-64@0.14.21: The platform "win32" is incompatible with this module.
info "esbuild-sunos-64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info esbuild-windows-32@0.14.21: The CPU architecture "x64" is incompatible with this module.
info "esbuild-windows-32@0.14.21" is an optional dependency and failed 
compatibility check. Excluding it from installation.
info esbuild-windows-arm64@0.14.21: The CPU architecture "x64" is incompatible with this module.
info "esbuild-windows-arm64@0.14.21" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.3.2: The platform "win32" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "win32" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...

I am running on Windows which has not been a problem so far usin vSCode as my environment and until recently showed no problems, though now has a persistent “[{
“resource”: “/D:/WEB/_nodejs/redwoodblog/web/src/pages/ContactPage/ContactPage.js”,
“owner”: “generated_diagnostic_collection_name#5”,
“severity”: 8,
“message”: “Unknown type “CreateContactInput”. Did you mean “CreatePostInput” or “UpdatePostInput”?”,
“source”: “GraphQL: Validation”,
“startLineNumber”: 18,
“startColumn”: 42,
“endLineNumber”: 18,
“endColumn”: 61
},{
“resource”: “/D:/WEB/_nodejs/redwoodblog/web/src/pages/ContactPage/ContactPage.js”,
“owner”: “generated_diagnostic_collection_name#5”,
“severity”: 8,
“message”: “Cannot query field “createContact” on type “Mutation”. Did you mean “createPost”?”,
“source”: “GraphQL: Validation”,
“startLineNumber”: 19,
“startColumn”: 5,
“endLineNumber”: 19,
“endColumn”: 19
}]” though I believe that has nothing to do with the above as th “Blog” Contacts Page seems to work.

Is this crash the end of my involvement? or just a blip with a solution out there?

It is worse than I thought… seems to have taken the whole thing down with it

command:
yarn rw dev

no longer works
even after complete Windows reboot

PS D:\WEB\_nodejs\redwoodblog> yarn rw dev
yarn run v1.22.5
error Command "rw" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 
PS D:\WEB\_nodejs\redwoodblog>

cc @dom

Hi @OlagStegan Appreciate you letting us know about this (and apologies for the frustration). This is most definitely not expected and seems to be something upstream related to Prisma. Here’s the telling line in your error output:

Running Prisma CLI...
$ yarn prisma generate --schema "C:\Users\dom\rw\_sandbox\auth-test\api\db\schema.prisma"

Environment variables loaded from .env
Prisma schema loaded from api\db\schema.prisma
Error: Unable to require(`C:\Users\dom\rw\_sandbox\auth-test\node_modules\prisma\query_engine-windows.dll.node`)
 The specified module could not be found.
\\?\C:\Users\dom\rw\_sandbox\auth-test\node_modules\prisma\query_engine-windows.dll.node
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 

@dom just reproduced a similar error on his Windows machine. And we’ve just contacted Prisma to see if they’re aware of the issue.

It is worse than I thought… seems to have taken the whole thing down with it

command:
yarn rw dev

no longer works
even after complete Windows reboot

^^ So this has to do with your installed packages now being out of sorts. Often you can resolve it by running:

yarn install --force

But in this case, the generated Prisma code, which is coincicentally in node_modules/.prisma is likely corrupted and messing up yarn install. What I recommend is clearing out your node_modules:

  1. delete node_modules/
  2. delete web/node_modules/ (if applicable)
  3. delete api/node_modules/ (if applicable
  4. Then re-run yarn install

You should now be able to get yarn rw dev working again.

NOTE: I mixed on whether to recommend removing the @redwoodjs/auth package which was installed. I think it’s going to work but it might have to be removed, too.

Next Steps

If you still have the time (and patience) to give this a go, could you:

  1. report back whether or not things got un-stuck
  2. copy/paste the output of your system via yarn rw info

@OlagStegan As @thedavid mentioned, I ran into the same thing on my VM and we’re in touch with Prisma about it, but in the meantime the workaround here fixed it for me:

Many thanks @thedavid and @dom
My optimism and :mending_heart: for RedwoodJS Restored

Your suggestion of deleting node_modules and yarn install appears to have done the trick. I am still a lttle nervous about the failed “yarn rw setup auth dbAuth” but at least the next step in the tutorial appears to have worked. So I can continue to learn…still a bit worying it blew up in the first place.

2 Likes

Oh and almost forgot, the output from “yarn rw info”

yarn run v1.22.5
$ D:\WEB\_nodejs\redwoodblog\node_modules\.bin\rw info
(node:24868) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
  System:
    OS: Windows 10 10.0.19044
  Binaries:
    Node: 16.11.1 - ~\AppData\Local\Temp\yarn--1644920130586-0.43594961025001444\node.CMD
    Yarn: 1.22.5 - ~\AppData\Local\Temp\yarn--1644920130586-0.43594961025001444\yarn.CMD
  Browsers:
    Chrome: 98.0.4758.102
    Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.50)
  npmPackages:
    @redwoodjs/core: v0.45.0 => 0.45.0

Done in 21.91s.
2 Likes