$ sudo apt update
[sudo] password for marcelo:
Get:1 https://download.docker.com/linux/ubuntu jammy InRelease [48.8 kB]
Get:2 https://packages.microsoft.com/repos/code stable InRelease [3590 B]
Get:3 https://packages.microsoft.com/repos/code stable/main amd64 Packages [17.9 kB]
Get:4 https://packages.microsoft.com/repos/code stable/main armhf Packages [18.1 kB]
Get:5 https://packages.microsoft.com/repos/code stable/main arm64 Packages [18.1 kB]
Hit:6 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:7 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Hit:9 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [17.8 kB]
Get:11 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [13.2 kB]
Ign:12 https://ppa.launchpadcontent.net/kirillshkrogalev/ffmpeg-next/ubuntu jammy InRelease
Err:13 https://ppa.launchpadcontent.net/kirillshkrogalev/ffmpeg-next/ubuntu jammy Release
404 Not Found [IP: 185.125.190.80 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/kirillshkrogalev/ffmpeg-next/ubuntu jammy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
$ sudo apt install nodejs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
npm
The following NEW packages will be installed:
nodejs
0 upgraded, 1 newly installed, 0 to remove and 54 not upgraded.
Need to get 122 kB of archives.
After this operation, 929 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 nodejs amd64 12.22.9~dfsg-1ubuntu3.6 [122 kB]
Fetched 122 kB in 1s (141 kB/s)
Selecting previously unselected package nodejs.
(Reading database ... 42745 files and directories currently installed.)
Preparing to unpack .../nodejs_12.22.9~dfsg-1ubuntu3.6_amd64.deb ...
Unpacking nodejs (12.22.9~dfsg-1ubuntu3.6) ...
Setting up nodejs (12.22.9~dfsg-1ubuntu3.6) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for man-db (2.10.2-1) ...
$ node -v
v12.22.9
Instalação da biblioteca de dependências para execução da aplicação:
Arquivo package.json
$ pwd
devops-conversao-temperatura/
$ cd /src
$ npm install
added 153 packages, and audited 154 packages in 5s
27 packages are looking for funding
run `npm fund` for details
4 vulnerabilities (2 moderate, 2 high)
To address all issues, run:
npm audit fix
Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 10.7.0 -> 10.8.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.2
npm notice To update run: npm install -g npm@10.8.2
npm notice