Practice this fail.
A tool, not a runtime dependency.
npm · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
This trusted project needs the package typescript as a development dependency. You intend to install it and update the manifest and lockfile.
A tool, not a runtime dependency.
$ cat package.json
No TypeScript dependency is declared.
How do you install TypeScript as a development dependency?
Fixed. By hand.
npm install --save-dev typescript--save-dev records the package under devDependencies while installing it locally. Review the dependency and resulting lockfile, as with any intended package change.
Practice does not affect your daily score or streak.