• 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_App_ESP32_ESP8266_V1 section 4 – firebase tools install issue

Q&A Forum › Category: ESP32 › Firebase_Web_App_ESP32_ESP8266_V1 section 4 – firebase tools install issue
0 Vote Up Vote Down
f. sanford asked 3 years ago

I have installed and removed and reinstalled the firebase tools for section 4 in Firebase_Web_App_ESP32_ESP8266_V1 several times and cannot get it to work
I’m using windows 10
Any assistance you can provide would be greatly appreciated.
PS C:\> firebase –version
firebase : The term ‘firebase’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ firebase –version
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (firebase:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\> node -v
v0.12.2
PS C:\> npm -v
2.7.4
PS C:\>

6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
What is exactly the command you’re using to get the version?
The command is

firebase --version

with two “-”
From what you posted, it seems you’re using only one “-”
Regards,
Sara

0 Vote Up Vote Down
f. sanford answered 3 years ago

sorry, here are the results with two dashes:
 
PS C:\> firebase –version
module.js:338
throw err;
^
Error: Cannot find module ‘C:\Users\tmo.SHADOW-2018\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js’
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
PS C:\>

0 Vote Up Vote Down
f. sanford answered 3 years ago

in both examples, those look like one dash but are actually two

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

When you run the command to install Firebase tools what message do you get?

0 Vote Up Vote Down
f. sanford answered 3 years ago

I completely uninstalled all versions of Python, chocolatey, NPM and Visual Studio Code. then reinstalled everything (in order) making sure that all was done with administrator privilages and it now works.

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.0: 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 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 debug@3.2.6: 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 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 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.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142

added 687 packages, and audited 688 packages in 1m

33 packages are looking for funding
run `npm fund` for details

28 vulnerabilities (4 low, 20 moderate, 4 high)

To address all issues, run:
npm audit fix

Run `npm audit` for details.
PS C:\> firebase –version
10.1.2
PS C:\>

 

thank you for your help.

 

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

As you can see from that message, it wasn’t able to install firebase.
What is the operating system that you’re using?
Did you install node.js?
I don’t know what that error means.
Can you try to update npm? https://stackoverflow.com/questions/18412129/how-can-i-update-npm-on-windows/27464115
Regards,
Sara
 

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.