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
2
votes
1 answer

Customize Stackblitz Angular project template

I'm about to fork and customize Stackblitz Angular CLI project template which is likely stored at github.com/stackblitz/angular-cli-template. The primary objective here is to modify TypeScript configuration and change target from es5 to…
Estus Flask
  • 206,104
  • 70
  • 425
  • 565
2
votes
1 answer

How to make the Stackblitz angular 6.0.6 find "primeng" modules? (primeng 6.0.0 added as dependency)

I added primeng (6.0.0) as dependency in Stackblitz (Angular 6.0.6) and tried to import primeng modules (e.g. TreeModule) but it doesn't find it, you may see the code in below stackblitz: https://stackblitz.com/edit/angular-wqef8y The app.module.ts…
Farhad
  • 533
  • 9
  • 21
2
votes
2 answers

Create private projects on stackblitz

How to create private projects on stackblitz on which only my team can work? Right now anyone can access my projects . for example: https://stackblitz.com/edit/signup
Deepak Dhull
  • 31
  • 1
  • 7
1
vote
0 answers

Stackblitz example not working in Angular docs:

I'm trying to examine the example provided in the Angular docs. When I load the StackBlitz, it fails to start. The terminal readout is: ~/projects/zesusx--run ❯ npm install --legacy-peer-deps && npm start npm ERR! Failed to fetch npm ERR! A…
JimmyTheCode
  • 3,783
  • 7
  • 29
  • 71
1
vote
0 answers

How do I get the dependencies tree to show in a stackblitz node.js new project?

I started this up to get a terminal window in my project, but there is no dependencies tree... https://stackblitz.com/fork/nextjs
David Pesetsky
  • 254
  • 5
  • 13
1
vote
1 answer

Making the Angular Material Select Demo Stackblitz into a Standalone Component?

Trying to make the Angular Material Select Demo into a standalone component. This is the Stackblitz. These are the steps. Replace main.ts with this (For booting standalone component): import { bootstrapApplication } from…
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
1 answer

Importing Angular ECharts Into a Stackblitz 15.1 project?

Stackblitz is now using a standalone configuration for Angular Projects and when I attempt to initialize the module for Angular ECharts (ngx-echarts) it produces the following error: Error in src/main.ts (18:5) Type…
Ole
  • 41,793
  • 59
  • 191
  • 359
1
vote
1 answer

Connecting to a remote MySQL database from Stackblitz Node.js project

I have a Node.js Stackblitz project that I am trying to connect to a remote MySQL database. It is not possible to have a MySQL database within Stackblitz, hence trying the remote approach. However I get "Error: connect ETIMEDOUT" whenever I attempt…
RBHQ
  • 33
  • 5
1
vote
1 answer

Make a sample of react-monaco-editor in StackBlitz

I try to use https://github.com/react-monaco-editor/react-monaco-editor in StackBlitz. Here is a very small sample: https://stackblitz.com/edit/react-ts-mq152n?file=EditorBasic.tsx,index.tsx import * as React from 'react'; import MonacoEditor from…
SoftTimur
  • 5,630
  • 38
  • 140
  • 292
1
vote
0 answers

StackBlitz and PrimeNg

I am putting a demo for a client using StackBlitz StackBlitz The error being shown is Error in /turbo_modules/primeng@14.1.2/fesm2015/primeng-table.mjs (4051:169) can't access lexical declaration 'ColumnFilter' before initialization I am not using…
software is fun
  • 7,286
  • 18
  • 71
  • 129
1
vote
1 answer

Select block of code in stackblitz on chrome mobile on android

How do I select block of code in stackblitz on chrome mobile on android? Long press brings up menu with cut/copy/paste/ for that line but I need to select a block of code.
Hassan Voyeau
  • 3,383
  • 4
  • 22
  • 24
1
vote
0 answers

run stackblitz typescript project locally

I create a starter typescript project in stackblitz index.html does not import any js or css but it works in their preview window. How do I run this project locally? Seems like I would have to modify index.html to include js and css? How do they…
Hassan Voyeau
  • 3,383
  • 4
  • 22
  • 24
1
vote
1 answer

Why "Vue is not defined" when using Vue 3 + Vuex 4?

I'm trying to migrate form props to Vuex 4. But when I import Vuex I get Vue is not defined. https://stackblitz.com/edit/vue-t8q9t9
andyleigh
  • 21
  • 5
1
vote
1 answer

Stackblitz Angular 13 project does not work locally

i'm trying to download and run a simply angular 13 progect example from Stackblitz to my local pc. Download ok, npm install ok. ng serve -o returns this message: Your global Angular CLI version (13.2.5) is greater than your local version (11.0.7).…
1
vote
0 answers

I can't import a project from github repository to stackblitz if I use firefox

I log into statckbliz when trying to import the github project proyect github changing the address to addres stackblits https://stackblitz.com/github/nestdanchia/spinner it doesn't show me anything and the console shows The next…
nestdan
  • 81
  • 9