question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to setup SDK

See original GitHub issue

[REQUIRED] Codelab info

I am trying to complete the following tutorial https://codelabs.developers.google.com/codelabs/firebase-web/#5

[REQUIRED] Project setup

https://github.com/firebase/friendlychat-web/

[REQUIRED] Describe the problem

  1. Unable to add Firebase SDK
  2. Cloud Functions requires the firebase-functions even though I see it installed in my package.json file

However, I keep getting the following errors, even though, I have added the following examples on my page. See the screenshots attached.

My Firebase version is 7.6.1 My Node version is 12.12.0

enter image description here

enter image description here

Screenshot 2019-10-21 19 07 58 Screenshot 2019-10-21 19 10 18 Screenshot 2019-10-21 19 24 35 Screenshot 2019-10-21 19 25 16

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
JamesVanWazacommented, Nov 16, 2019

I was able to get it to work.

Very much appreciated to @jhuleatt @samtstern @bsachin207

0reactions
jhuleattcommented, Nov 12, 2019

@JamesVanWaza please run firebase serve --only hosting instead of firebase serve and see if that works. More context in Sam’s comment above

Also, I’m not sure what your local DNS settings are, but it looks like you’re loading the site at the url firebase-codelab.testing. Instead, can you please use the url that the firebase serve --only hosting command suggests? In that last screenshot, it would be http://localhost:5000

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to repair/install android sdk - Visual Studio Feedback
The path for the Android SDK Location is set to "C:\Program Files (x86)\Android\android-sdk". I tried to open Visual Studio without code and then...
Read more >
Unable to install Android SDK - java - Stack Overflow
Try this step it may help you: Installation sequence: JDK, Eclipse, ADT, Android SDK. 1. JDK. First, head over to Oracle Web site...
Read more >
Can't install any Win10 SDK versions - Microsoft Q&A
1) Close any existing open instances of Visual Studio 2015 by saving your current work and then retry the installation. 2) Uninstall any...
Read more >
Why does the SDK 7.1 installation fail with an ... - MathWorks
1. Uninstall the Microsoft Visual C++ 2010 redistributable packages (both x86 as well as x64) from “Control Panel” > “Programs and Features”. ·...
Read more >
Unable to install additional SDK platform. Please run the SDK ...
Hi, I fixed this problem by downloading Android SDK tools, downloading the SDK version I wanted, and then dragging that version into the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found