Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General broken feature resolution #5

Open
realStandal opened this issue May 23, 2022 · 2 comments
Open

General broken feature resolution #5

realStandal opened this issue May 23, 2022 · 2 comments

Comments

@realStandal
Copy link

This issue is to propose an addition to the Redwood Applications Development Cookbook.

My addition is the "delete everything and reinstall" workflow. I know I personally rely upon these steps to fix many "broken" features with the Redwood framework, and have seen many community and core-team members suggesting it or posting it as the resolution to their issue at-hand.

  • Delete the following set of files/directories:
    • ./.redwood
    • ./.yarn/install-state.gz (RFC - I'm not 100% sure this file is required, it's only applicable to Yarn v3 regardless)
    • ./api/node_modules
    • ./web/node_modules
    • ./node_modules
    • ./yarn.lock
  • Re-install dependencies (yarn install)
  • Re-generate Redwood types (yarn rw g types)
  • Re-generate the Prisma client (yarn rw prisma generate)
@adriatic
Copy link
Owner

That is a very useful article (I wish I had it before 😄). Since I am still working on the draft of the article "tracing through Redwood authentication) You will be the very first contributor to this cookbook. To save you from the technicalities of updating the https://rw-community.org/ application, I will add your recipe and rework the current version of that app (it needs to state more clearly that it is a cookbook on Redwood Applications - not a cookbook on debugging)

@adriatic
Copy link
Owner

adriatic commented May 25, 2022

A bit more information. In a couple of days I hope to have the tandem application replaced. It will live in the same domain (https://rw-community.org/) however it will be named RADC (redwood applications development cookbook) - at least until somebody came with a better name (how about Julia Childs 😺 ?)

Your article will be the first one to. be published - in the meantime please see if you can can come up with a few categories for this cookbook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants