Why doesn’t $(“.tab-list”).each() run?

The idea is a simple html tab. https://codepen.io/ryboh1/pen/abzGEJj $(“.tab-list”).each( () => { $(“#p”).html(“hello”) /* for each tab-list*/ let $this = $(this); let $tab = $this.find(“li.active”); let $link = $tab.find(“a”); let $panel = $($link.attr(“href”)); /*When Clicked on a tab add this function*/ $this.on(“click”, “tab-control”, (e) => { e.preventDefault(); let $link = $(this); let id = this.hash;…

Details

Firebase Cloud functions: Typescript does not compile to JavaScript

Cloud function on my computer works with Javascript, but when I try it using TypeScript it does not compile to Javascript. It does not event create lib/index.js When I run firebase deploy, it shows the error that Error: There was an error reading functions/package.json: firebase deploy –debug shows the following log: APPLEs-MacBook-Air:functions abbasi$ firebase deploy…

Details