Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro nmp i

Olá!Boa Tarde.

Não consigo instalar as dependências do back-end.Já segui quase todos os passos que li aqui nos Fóruns(exclui "sqlite3",exlcui package-lock.json,node_modules,alterei a versão do node ) e continuo com o erro.

Não consigo seguir com as aulas!

Alguém pode me ajudar?

*Altera a versão do sqlite3 em api/package.json para uma versão mais nova e em seguida roda o npm i novamente.
PS C:\Users\julia\OneDrive\Área de Trabalho\angular_formularios-main\angular_formularios-main\api> npm i
npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10.
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated cryptiles@4.1.3: This module has moved and is now available at @hapi/cryptiles. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated boom@7.3.0: This module has moved and is now available at @hapi/boom. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API 
surface has changed to use Promises in 1.x.)
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported

> sqlite3@5.0.11 install C:\Users\julia\OneDrive\Área de Trabalho\angular_formularios-main\angular_formularios-main\api\node_modules\sqlite3
> node-pre-gyp install --fallback-to-build

[sqlite3] Success: "C:\Users\julia\OneDrive\Área de Trabalho\angular_formularios-main\angular_formularios-main\api\node_modules\sqlite3\lib\binding\napi-v3-win32-unknown-x64\node_sqlite3.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN gatitobook@1.0.0 No description
npm WARN gatitobook@1.0.0 No repository field.

added 285 packages from 324 contributors and audited 286 packages in 57.565s
found 6 vulnerabilities (2 moderate, 3 high, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
PS C:\Users\julia\OneDrive\Área de Trabalho\angular_formularios-main\angular_formularios-main\api> npm audit fix
npm WARN gatitobook@1.0.0 No description
npm WARN gatitobook@1.0.0 No repository field.

+ jimp@0.16.1
added 44 packages from 62 contributors, removed 48 packages and updated 6 packages in 29.269s
fixed 4 of 6 vulnerabilities in 286 scanned packages
2 vulnerabilities required manual review and could not be updated
PS C:\Users\julia\OneDrive\Área de Trabalho\angular_formularios-main\angular_formularios-main\api>

Insira aqui a descrição dessa imagem para ajudar na acessibilidade

Insira aqui a descrição dessa imagem para ajudar na acessibilidade

1 resposta
solução!

Insira aqui a descrição dessa imagem para ajudar na acessibilidade

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software