Drive tutorial fails to deploy
I followed the tutorial with no changes from my side up until this timecode
https://youtu.be/c-hKSbzooAg?si=0wqVRwnBIRdLzu5J&t=407
My deployment of this exact same thing fails with this deploy log (pasted to attachments). Local dev server did work tho.
Then I deleted my netlify site, my github repository, my local repository, and redid the tutorial step by step again. Still the same deployment issue.
I honestly have no clue how to go about this and how to fix it. Im new to javascript and I haven't used netlify before. I would love to get some help with this, as this is not my first time trying to follow a tutorial and it breaks before I could do or understand anything.
Theo - t3․gg
YouTube
My Biggest Tutorial Ever (Build A FULL Google Drive Clone with Reac...
What a journey this one was. I thought I picked a "reasonable" task with a Google Drive clone...nope.
IMPORTANT LINKS:
UI starter - https://v0.dev/chat/google-drive-clone-ui-6jEAM0wxOgc?b=b_fFQhsfElqQi&f=0
SingleStore tutorial - https://www.singlestore.com/blog/singlestore-drizzle-integration/
CI FILE - https://github.com/t3dotgg/drive-tutorial...
4 Replies
I encountered the same issue as well and subsequently found this issue on the corepack repo: https://github.com/nodejs/corepack/issues/612
This is the workaround posted on a related issue in the pnpm repo: https://github.com/pnpm/pnpm/issues/9014#issuecomment-2623761494
However what worked for me to deploy to netlify is to use npm instead of pnpm. Note, I'm not entirely sure if using npm instead of pnpm might trigger other issues later in the tutorial (most probably not 🤞). I have only just fixed this issue and haven't gone past the timestamp you have shared.
Good luck, would love to hear what works for you / any other issues you may face
GitHub
Newly published versions of package managers distributed from npm c...
This is probably related to #611. When I try to install pnpm 10.1.0, I get the following error: C:\Program Files\nodejs\node_modules\corepack\dist\lib\corepack.cjs:21535 if (key == null || signatur...
I just had a genius idea to just copy package.json and pnpm-lock.yaml from Theo's repo, commit it and it worked. I deployed. I think this one should be fool-proof
Aha that works too xD
for anyone still running into this issue, deployment started to work for me after using the exact same version of pnpm as theo's
npm install -g [email protected]
and changing the package manager in package.json
to use [email protected]
.
copying the pnpm-lock.yaml
file is no longer needed!