Untitled Lesson
Skill Matrix
UNLOCK NODES BY LEARNING NEW TAGS.
š» Code Challenge | +75 XP
Task: Reorder the blocks in logical sequence to solve the problem.
A.D.A. Interface
Adaptive Didactic Assistant

Pascual Vila
Full-Stack Software and AI Engineer
Full-Stack Software and AI Engineer with 6 years of experience building enterprise-grade web applications across React, Angular, Node.js, and Python. Recently completed a Master's in AI Development specializing in LLMs, RAG, and AI agent architectures, and currently builds enterprise systems that integrate AI and Digital Twins to optimize industrial and logistics processes.
LinkedIn āThe Error //
Committing node_modules but forgetting to commit package-lock.json
# .gitignore should exclude node_modules but NEVER package-lock.json
node_modules
# package-lock.json must be committed, not ignoredThe Solution //
package-lock.json is the artifact that actually guarantees reproducible installs ā it pins the exact resolved version and integrity hash of every dependency and sub-dependency. Without it committed to version control, two developers running npm install with the same package.json's caret ranges can end up with different transitive dependency versions, causing 'works on my machine' bugs.
The Error //
Manually editing dependency versions in package.json without regenerating the lockfile
# Wrong: edits package.json only, lockfile now out of sync
# (manually changing the version string in package.json)
# Correct: updates package.json AND package-lock.json together
npm install express@4.19.0The Solution //
Hand-editing a version string in package.json (e.g. bumping "express": "^4.18.2" to "^4.19.0") doesn't update package-lock.json automatically in every workflow, and running npm ci afterward will fail or install the old locked version instead of what you intended. Use npm install <package>@<version> instead of hand-editing, so npm updates both files together.