podem me explicar se eu fiz corretamente este terminal ou não , e si não onde errei? PS C:\Users\jor44\OneDrive\Área de Trabalho\logica\aluraplay-requisicoes-main> npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults.
See npm help init
for definitive documentation on these fields
and exactly what they do.
Use npm install <pkg>
afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit. package name: (aluraplay-requisicoes-main) version: (1.0.0) git repository:keywords:author:license: (ISC)About to write to C:\Users\jor44\OneDrive\Área de Trabalho\logica\aluraplay-requisicoes-main\package.json:
{ "name": "aluraplay-requisicoes-main", "version": "1.0.0", "description": "npm install json-server.", "main": "index.js", "scripts": { "test": "echo "Error: no test specified" && exit 1" }, "author": "", "license": "ISC", "dependencies": { "json-server": "^1.0.0-beta.3" }, "devDependencies": {} }
Is this OK? (yes)
PS C:\Users\jor44\OneDrive\Área de Trabalho\logica\aluraplay-requisicoes-main> npm install -g json-server
changed 45 packages in 2s
14 packages are looking for funding
run npm fund
for details
PS C:\Users\jor44\OneDrive\Área de Trabalho\logica\aluraplay-requisicoes-main> json-server --watch db.json
--watch/-w can be omitted, JSON Server 1+ watches for file changes by default
File db.json not found
PS C:\Users\jor44\OneDrive\Área de Trabalho\logica\aluraplay-requisicoes-main>