Codesandbox.io is an open-source online code editor supporting vanilla JS, Vue.js, Angular.js, React.js, and Preact.js. DO NOT use this tag just because your code is hosted on CodeSandbox, and your problem is otherwise unrelated to the CodeSandbox site.
Questions tagged [codesandbox]
276 questions
0
votes
1 answer
How to push code to a GitHub Repo using Code Sandbox for iOS (2022)
I had trouble (even called support) and they could not answer correctly as to how to push code from CodeSandBox (iOS version) to a GitHub Remote Repo. I keep getting failed to connect (even using SSH and/either regular authentication). (They did…

lionel jones
- 19
- 3
0
votes
2 answers
Could not find/install babel plugin 'proposal-decorators' on CodeSandbox with Firebase
I'm trying to use Codesandbox in React project, but I'm stuck with error: Could not find/install babel plugin 'proposal-decorators': Cannot find plugin 'proposal-decorators' or 'babel-plugin-proposal-decorators'.
Error happens when I adding firebase…

Rossie
- 13
- 2
0
votes
0 answers
Open iframe as new clean document/window
I am trying to load code from codesandbox into iframe, but it is not going to load.
Probably it is checking if there is parent window opening it from other domain.
Is there any way to hide it and make it think like it was open in new clean window.
I…

gkucmierz
- 1,055
- 1
- 9
- 26
0
votes
1 answer
How can I make a secure cloud programming platform?
I am quite fascinated with replit. I want to know how can I make my own cloud programming platform with a complete security system?

Kshitij Tyagi
- 25
- 6
0
votes
1 answer
How to convert ProcessingJS library to p5.js?
I am trying to convert the code I created in khan academy (processingJS library) to Code Sandbox (p5.js). Any assistance would be great. I am having trouble with the background and text functions.
code from processing js.
var l = "1. Have an open…

devinefeminine
- 3
- 2
0
votes
1 answer
CodeSandBox: How to access terminal in angular project
I want to execute some ng commands in codeSandBox in an angular project. But I couldn't see any terminal option, whereas I can see terminal when I work on some Node.JS project.
Can anyone please help me to access terminal?
Here is my codesandbox…

Shivani
- 63
- 9
0
votes
2 answers
JS vanila template of codesandbox not working
Attaching my code here. Trying to learn JS. Practicing my code in the codesandbox.io's vanilla JS template.
Error:
It is not reading the function that I am defining.
CODE:
BOM property
Browser…

Aditya Shah
- 21
- 3
0
votes
0 answers
CSS file only shows when it's selected - CodeSandbox
The issue I am having is in CodeSanbox.io. Below you will see the code for my HTML file (index.html), as well as the code for my linked CSS file (styles.css), which is in a folder titled css.

Hsabes
- 21
- 3
0
votes
1 answer
CodeSandbox doesn't display anything in the preview
As the image shows, I created a default static template project in CodeSandbox, and the preview doesn't update at all. I looked up everywhere and can't find anything.

Veritas1832
- 67
- 3
- 14
0
votes
0 answers
"could not find/install babel plugin 'proposal-decorators':" codesandbox
I am working with a react app locally and when i deploy it to codesandbox it appears this error:
could not find/install babel plugin 'proposal-decorators': Cannot find plugin 'proposal-decorators' or 'babel-plugin-proposal-decorators'
I already…

pop
- 217
- 1
- 3
- 11
0
votes
2 answers
How online in browser Code Editor like Code sandbox stores files in browser?
How code sandbox and stackblitz like online in browser code editors store the files in the browser?

Arnav
- 97
- 6
0
votes
0 answers
Netlify images are not showing (React)
I deployed a site with react and it does not show all of the images.
I used js to import all the images
import productImg1 from "./images/products/product-1.jpg";
import productImg2 from "./images/products/product-2.jpg";
import productImg3 from…

gly
- 21
- 5
0
votes
0 answers
React not rendering element if async call for data takes too long
I'm grabbing user data from an API. The API call takes a while. But even when the frontend gets the response, React never finishes rendering the component.
I can replicate this behavior with setTimeout.
A small timeout like 7ms will work, but if I…

Dashiell Rose Bark-Huss
- 2,173
- 3
- 28
- 48
0
votes
1 answer
Adding thickness to lines in threejs
This is my demo, i want to add linewidth to give more thickness to my quad.
I have looked to this question and i have tried to understand how i can use LineMaterial and Line2.
They seem not working in the demo.
This is the relevant code
function…

Koala7
- 1,340
- 7
- 41
- 83
0
votes
1 answer
How to run a three.js project locally from codesandbox
I found three.js project on codesandbox and I'm having trouble getting it to work locally.
On codesandbox it works normally https://codesandbox.io/s/github/jmswrnr/website-examples/tree/master/3d-header/final-result but when I downloaded the code…

Sp4rq
- 31
- 5