Put in order · Vibe coding with Claude Code course · Module 2: A Next.js project with Claude Code
Ordering: Break it and recover
Arrange the steps of the exercise in which you break the build on purpose and return to the working version:
Items to put in order
- You type /rewind and choose Restore code
- npm run build ends with the message Failed to type check
- You ask Claude to rename the level field to rank
- You commit the working step
- npm run build passes again
Show the answer
Correct order:
- You commit the working step
- You ask Claude to rename the level field to rank
- npm run build ends with the message Failed to type check
- You type /rewind and choose Restore code
- npm run build passes again