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
1
vote
1 answer

How can I download and Use Angular project off of Stackblitz?

So I have a project available on stackblitz that I want to use offline for my own purposes. for reference, here is the link to what I want to use- https://stackblitz.com/edit/nvs-angular-search-dropdown-istnzp. So, I tried to download the code and…
1
vote
0 answers

StackBlitz displaying errors when using Angular Material

It looks like and error is occurring in Stackblitz when using Angular Material because of an update of Material. This even happens in the official Material website's examples. When clicking on the stack blitz examples you'll see this error: Error in…
Flash
  • 924
  • 3
  • 22
  • 44
1
vote
1 answer

StackBlitz - share url with specific path

I've created a small project on StackBlitz. Link - https://stackblitz.com/edit/response-validation-docs And this leads us to project with embedded browser on the right with url: https://response-validation-docs.stackblitz.io However I would like…
Michał Lis
  • 461
  • 1
  • 6
  • 19
1
vote
1 answer

Stackblitz.com: error importing a module within another module

Stackblitz.com is an excellent resource for creating small experimental projects. However, today I ran into a problem. I created a stackblitz plain ecmascript project with the following folder structure └── root ├── Resource │ ├── app.js …
KooiInc
  • 119,216
  • 31
  • 141
  • 177
1
vote
2 answers

Stackblitz, Angular Including JSON file not working

I'm using Stackblitz: https://stackblitz.com/edit/bible-talk I'm using Angular 10. I'm trying to import data from a JSON file. I found an example on how to do this on…
Jesus is Lord
  • 14,971
  • 11
  • 66
  • 97
1
vote
0 answers

StackBlitz Error in /turbo_modules/@firebase/database@0.6.6/dist/index.cjs.js: Cannot read property 'registerComponent' of undefined

I've been trying to reproduce a problem in my Angular 9 app on stackBlitz. I've been having to add increasing layers of complexity to reproduce the problem, so please forgive the seeming unnecessary complexity of this stackBlitz example. However, I…
Atticus29
  • 4,190
  • 18
  • 47
  • 84
1
vote
1 answer

How to fix stackblitz ngcc error with Material Design MatTableModule?

After reviewing everything between my own project config, and that of this sample, I am unable to know why I get the error: Error in turbo_modules/@angular/material@9.2.4/table/table-module.d.ts (8:22) Appears in the NgModule.exports of…
Adam Cox
  • 3,341
  • 1
  • 36
  • 46
1
vote
2 answers

Delete Stackblitz Project?

I took a screenshot. I want to delete the project that says "Delete this project". The button no longer appears. It used to be something that appeared when we hovered over the link to the project (I hovered over it in the screenshot, but the…
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
1 answer

For older Angular projects Stackblitz seems to have an invalid package.json which doesn't work locally

I've noticed that the package.json for older Angular projects on Stackblitz always uses Angular9 under devDependencies, whereas under dependencies it's an older version like "@angular/core": "7.2.2" or "@angular/core": "6.1.10". Two…
Sven K
  • 159
  • 5
1
vote
1 answer

stackblitz typescript project doesn't know BigInt

When you create a typescript project on Stackblitz it turns out that there is an issue with BigInt const val = BigInt(10); It doesn't know BigInt. Although the code runs fine I still want the error to go away :) So, in the above case I can add the…
Jeanluca Scaljeri
  • 26,343
  • 56
  • 205
  • 333
1
vote
1 answer

Problem on installing dependencies with Stackblitz

I tried to install ng-select on my stackblitz project installing it in the dependencies section and inserting the import in app.module.ts https://stackblitz.com/edit/angular-ahhsfh?file=src%2Fapp%2Fapp.module.ts&cc=aa import { NgModule } from…
Andy88
  • 647
  • 2
  • 9
  • 21
1
vote
1 answer

How to disable an angular form but keep text color as black (readable)

I have a use case where a component form shared between Admin and Employee. When the component is access by Admin, the form is write-able but READONLY when access by employee. i know the simplest code line to make the form READONLY when access by…
Weilies
  • 500
  • 1
  • 7
  • 27
1
vote
0 answers

Angular project from stackblitz - no Bootstrap styles

I have downloaded the following project from StackBlitz: Example I had to modify app.module by adding this code: import {APP_BASE_HREF} from '@angular/common'; and this: providers: [{provide: APP_BASE_HREF, useValue: ''}], After that it ran, but…
Mark
  • 4,535
  • 7
  • 39
  • 76
1
vote
0 answers

Unsatisfied version (jspdf) in stackblitz

When I try to install jspdf in stackblitz.com, its showing the below error. Failure: Unsatisfied Version Range Unable to resolve package Please try installing a different version or range Thank You Bobbin
1
vote
1 answer

Error in StackBlitz: 'Unexpected strict mode reserved word' trying to use async/await with subscription.toPromise()

I have part of an Angular webapp set up on StackBlitz here. In it, I'm experimenting with the best way to implement a mat-table with data coming from firebase with filter, pagination, and sort functionality. In ended up writing a class implementing…
Atticus29
  • 4,190
  • 18
  • 47
  • 84