• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Firebase WEB application ESP32

Q&A Forum › Category: ESP32 › Firebase WEB application ESP32
0 Vote Up Vote Down
Pedro Giammarusti asked 6 months ago

Hello Sara
 
Thanks for your answer, I’m following Part 4 of the book and I’ve already installed in my PC
• Visual Studio Code
• Node.JS LTS version
• Node.js Extension Pack (VS Code)
Problem arises when I open New Terminal, type cd \ and then  npm -g install firebase-tool
The Firebase Tools aren’t installed as you can see in the previous message.
Thanks for any help!
 

5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Have you created a firebase project before?
I see that you already asked some questions about Firebase before.
If you’ve already installed firebase tools you don’t need to install them again. 

0 Vote Up Vote Down
Pedro Giammarusti answered 6 months ago

Hello Sara
 
Thanks for your message, here follow some comments:
1 – This is my first Project
2 – At the time I’ve asked some questions about Firebase I stopped working at the end of Part #3, since my main interest was the development of an associated ‘customized” hardware, which is running well since that time, perfectly validating Firebase’s RTDB operation and given instructions.
3 – Therefore, answering your question, this the first installation of said softwares.
4 – In the meantime I already uninstalled the softwares and carefully reinstalled them once again.
5 – Now I get:
 
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
 
 
39 packages are looking for funding
  run `npm fund` for details
 
5 moderate severity vulnerabilities
 
To address all issues (including breaking changes), run:
  npm audit fix –force
 
Run `npm audit` for details.
PS C:\> npm audit fix –force
npm WARN using –force Recommended protections disablednpm 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-05T12_59_31_218Z-debug-0.log
PS C:\> firebase –version
firebase : O arquivo
C:\Users\Pedro\AppData\Roaming\npm\firebase.ps1 não   
pode ser carregado porque a execução de scripts foi   
desabilitada neste sistema. Para obter mais
informações, consulte about_Execution_Policies em     
https://go.microsoft.com/fwlink/?LinkID=135170.       
No linha:1 caractere:1
+ firebase –version
+ ~~~~~~~~
    + CategoryInfo          : ErrodeSegurança: (:) [] 
   , PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess      
PS C:\>
 
What should I do?
 
Thx  

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Ignore the warning and continue as mentioned on page 119.
See if you can proceed with the instructions.
https://stackoverflow.com/questions/72163587/npm-gives-depreciated-errors-when-trying-to-install-firebase-tools-for-flutter
 

0 Vote Up Vote Down
Pedro Giammarusti answered 6 months ago

Hello Sara
 
I’ll try…thx!

0 Vote Up Vote Down
Sara Santos Staff answered 6 months ago

Then, let me know the results.
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.