Question · Vibe coding with Claude Code course · Module 2: A Next.js project with Claude Code

Quiz: The node_modules folder

Why don't we commit the node_modules folder to Git?

Answer options

  • It is huge and anyone can recreate it with npm install
  • It contains the project's passwords and secrets
  • Git does not support JavaScript files
  • Because it contains no useful files
Show the answer

Correct answer:

  • It is huge and anyone can recreate it with npm install