Hello Sara
I ‘ve got problems following instructions referred to setting up environment for Firebase WEB Application, here follow what I get, what shall I try?
Windows PowerShell
Copyright (C) Microsoft Corporation. Todos os direitos reservados.
Experimente a nova plataforma cruzada PowerShell https://aka.ms/pscore6
PS C:\Users\Pedro> CD \
PS C:\> npm -g install firebase-tools
npm WARN deprecated har-validator@5.1.3: this library is no longer supported
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 676 packages, changed 1 package, and audited 678 packages in 4m
39 packages are looking for funding
run `npm fund` for details
5 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
Run `npm audit` for details.
PS C:\> npm audit fix –force
npm WARN using –force Recommended protections disabled.
npm ERR! code ENOLOCK
npm ERR! audit This command requires an existing lockfile.
npm ERR! audit Try creating one first with: npm i –package-lock-only
npm ERR! audit Original error: loadVirtual requires existing shrinkwrap file
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Pedro\AppData\Local\npm-cache\_logs\2022-10-04T12_12_28_336Z-debug-0.log
PS C:\> npm i –package-lock-only
npm ERR! Tracker “idealTree” already exists
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Pedro\AppData\Local\npm-cache\_logs\2022-10-04T12_13_26_143Z-debug-0.log
PS C:\> npm i –package-lock-only
Issues with VS
2 Answers