Questions tagged [stackblitz]

StackBlitz is an online IDE powered by Visual Studio Code, used for creating web applications. It provides rich editing and sharing features, like CodePen or JSFiddle. Use this tag when you have a question about one of its features or when you are encountering a problem in conjunction with using this tool for programming.

StackBlitz is an online IDE for web applications, powered by Visual Studio Code. It provides rich editing and sharing features, like CodePen or JSFiddle.

StackBlitz

236 questions
0
votes
2 answers

Is it possible to retrieve a json data file with http.get() on stackblitz

I have an angular service that looks like: import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable, of } from 'rxjs'; @Injectable({ providedIn: 'root', }) export class ApiService { …
jeconner
  • 398
  • 1
  • 2
  • 10
0
votes
1 answer

Angular material style not applied in StackBlitz

I'm trying to create a StackBlitz project with angular material, I added the library (@angular/material@12) in the dependencies but the style is not implemented correctly. What am I missing? StackBlitz mentioned is here What I see: What I…
Haris Bouchlis
  • 2,366
  • 1
  • 20
  • 35
0
votes
1 answer

Stackblitz Error: Can't find package: firebase

Installed firebase via command npm i firebase. Also tried npm i firebase@8.1.1 (Nov2020 version in which the tutorial has used firebase) and npm i firebase --save to no avail. Here is my Stackblitz project link for your reference. S.O.S.
Eldwin
  • 169
  • 2
  • 14
0
votes
0 answers

Luxon not running in stackblitz with typescript

I'm trying to make a luxon example in stackblitz, but the imports are not working. The luxon library and its types are added, and it is imported at the beginning of the file: However I get the message that it is undefined! I tried to find other…
Stefan
  • 14,826
  • 17
  • 80
  • 143
0
votes
2 answers

Mongoose Connection Error in Stackblitz - Mean app

I am trying to create a mean app. I am receiving errors while connecting mean app with MongoDb using mongoose. I am using "express": "^4.17.1", and "mongoose": "^6.0.7". const mongoose = require('mongoose'); // Connecting to…
Arun Saini
  • 11
  • 2
0
votes
1 answer

How to get Microsoft MSAL angular12-sample-app working in StackBlitz?

I have a question that I want to ask help for regarding an Angular app that offers both B2B and B2C authentication flows. I want it to be based off the Microsoft MSAL Angular exemplar project that uses HTTP_INTERCEPTORS and I want to have a…
Aiden Dipple
  • 134
  • 2
  • 15
0
votes
2 answers

Angular Getting Started - windows.alert not working

I'm working through the angular documentation using stackblitz and the two window.alert it had me create so far are not working. The first one was for the "share" button which was really just me adding it to the HTML but the alert is not working…
Heather
  • 3
  • 4
0
votes
1 answer

display "loading" on stackblitz

I am following a tutorial in Angular , the code works on Visual Studio but on Stackblitz.com, I have a message -> loading... I don't understand why nothing isn't display? I just did a copy/paste. It works correctly on Visual Studio, I don't…
elodie
  • 99
  • 1
  • 10
0
votes
2 answers

Adding Routing to Angular Project using Stackblitz

I'm fairly new to Angular and just discovered Stackblitz. I'm trying to practice the concept of routing. Is there a way to get the terminal to show up in Stackblitz to add routing to a project? I know you can right click to add things like…
user15974152
0
votes
1 answer

How to pin mat-toolbar and mat-sidenav and only have a scrollbar inside mat-sidenav-content?

See the following StackBlitz for the app in question: https://stackblitz.com/edit/angular-7cazwh?file=src%2Fapp%2Fapp.component.html
0
votes
1 answer

Getting 'this._ngZone is undefined' error in StackBlitz

I'm trying to run an angular app inside StackBlitz. It was working fine, until I tried adding a mat-sidenav-container. Then the app started failing with the following error displayed in the console: ERROR Error: this._ngZone is undefined Here's…
Eternal21
  • 4,190
  • 2
  • 48
  • 63
0
votes
1 answer

navigation bar doesn't show consistently on different browsers

I am having some problems with the navigation bar. On stackblitz it doesnt show on my windows machine with chrome, but it shows on my ubuntu machine with firefox https://stackblitz.com/edit/web-platform-zgajud?file=index.html EDIT 1: new link after…
adam
  • 655
  • 1
  • 10
  • 31
0
votes
1 answer

Can't login to Firebase on StackBlitz

The Firebase integration is not working, I give StackBlitz access to my personal Google account, it loads, and it nothing happens, it still says that I have not yet connected my Google account to StackBlitz.
0
votes
1 answer

Stackblitz Angular Router HTML Hot reload not working on child of router

maybe its a bug or maybe I'm just stupid idk I'm still new and I've just started learning angular but firebase tutorial lead me here and I just need a router so I implemented this here is the problem when I edit my HTML file in…
DEEz
  • 99
  • 1
  • 1
  • 10
0
votes
1 answer

why not proper show my form field in stackblitz

This form is working fine when the first time I created but after reopening the project then it is not showing properly. if anyone can find this problem, I appreciate you. thank you. below link is my angular project in…