I’m volunteering with an open source project and they want to use redwoodjs. I’m trying to go through the tutorial but I’m having issues with the first step. I’m running on a M1 MBP with yarn version 4.02 and Node v20.9.0. Simply running the first steps of the tutorial:
yarn create redwood-app --ts ./redwoodblog
yarn install
#this isn’t actually listed in tutorial but is in next steps from previous command
yarn redwood dev
➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + fsevents@patch:fsevents@npm%3A1.2.13#optional!builtin<compat/fsevents>::version=1.2.13&hash=d11327, and 4 more.
➤ YN0085: │ - fsevents@patch:fsevents@npm%3A1.2.13#~builtin<compat/fsevents>::version=1.2.13&hash=d11327, and 4 more.
➤ YN0000: └ Completed in 12s 183ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ react is listed by your project with version 18.2.0, which doesn’t satisfy what @redwoodjs/router (p1eae0) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react-dom is listed by your project with version 18.2.0, which doesn’t satisfy what @redwoodjs/router (p62015) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0002: │ web@workspace:web doesn’t provide graphql (pc345c), requested by @redwoodjs/forms.
➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 1940 packages were added to the project (+ 352.76 MiB).
➤ YN0000: └ Completed in 17s 702ms
➤ YN0000: ┌ Link step
➤ YN0007: │ core-js@npm:3.33.2 must be built because it never has been before or the last one failed
➤ YN0007: │ core-js-pure@npm:3.33.2 must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.18.19 must be built because it never has been before or the last one failed
➤ YN0007: │ msw@npm:1.3.2 [114c5] must be built because it never has been before or the last one failed
➤ YN0007: │ fsevents@patch:fsevents@npm%3A1.2.13#optional!builtin<compat/fsevents>::version=1.2.13&hash=d11327 must be built because it never has been before or the last one failed
➤ YN0007: │ @prisma/client@npm:5.6.0 [78cce] must be built because it never has been before or the last one failed
➤ YN0007: │ esbuild@npm:0.18.20 must be built because it never has been before or the last one failed
➤ YN0007: │ @prisma/engines@npm:5.6.0 must be built because it never has been before or the last one failed
➤ YN0007: │ prisma@npm:5.6.0 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 10s 562ms
➤ YN0000: · Done with warnings in 40s 659ms
Running the suggested command yarn explain peer-requirements d11327
yields further horror:
Usage Error: Invalid value for hash: expected to match the pattern /^p[0-9a-f]{5}$/ (got “d11327”)
$ yarn explain peer-requirements
running yarn redwood dev
yields:
Generating the Prisma client…
api | Internal Error: fsevents@patch:fsevents@npm%3A~2.3.2#~builtin<compat/fsevents>: This package doesn’t seem to be present in your lockfile; run “yarn install” to update the lockfile
api | at X0.getCandidates (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:436:5149)
api | at Rf.getCandidates (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:392:1264)
api | at /redwoodblog/.yarn/releases/yarn-3.7.0.cjs:440:8033
api | at Cf (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:391:11070)
api | at ue (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:440:8013)
web | Internal Error: fsevents@patch:fsevents@npm%3A~2.3.2#~builtin<compat/fsevents>: This package doesn’t seem to be present in your lockfile; run “yarn install” to update the lockfile
web | at X0.getCandidates (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:436:5149)
web | at Rf.getCandidates (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:392:1264)
web | at /redwoodblog/.yarn/releases/yarn-3.7.0.cjs:440:8033
web | at Cf (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:391:11070)
web | at ue (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:440:8013)
gen | Internal Error: fsevents@patch:fsevents@npm%3A~2.3.2#~builtin<compat/fsevents>: This package doesn’t seem to be present in your lockfile; run “yarn install” to update the lockfile
gen | at X0.getCandidates (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:436:5149)
gen | at Rf.getCandidates (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:392:1264)
gen | at /redwoodblog/.yarn/releases/yarn-3.7.0.cjs:440:8033
gen | at Cf (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:391:11070)
gen | at ue (/redwoodblog/.yarn/releases/yarn-3.7.0.cjs:440:8013)
web | yarn cross-env NODE_ENV=development rw-vite-dev exited with code 1
api | yarn cross-env NODE_ENV=development NODE_OPTIONS=–enable-source-maps yarn nodemon --quiet --watch “/redwoodblog/redwood.toml” --exec “yarn rw-api-server-watch --port 8911 --debug-port 18911 | rw-log-formatter” exited with code 1
gen | yarn rw-gen-watch exited with code 1