Questions tagged [codesandbox]

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.

276 questions
0
votes
0 answers

I'm trying to open a repo from codesandbox in vscode and I'm getting an ssh connection error

This is what I'm getting in output terminal. I have tested a few things gleaned from the web but nothing has worked so far. Failed to connect to the remote extension host server Log: [15:50:13.256] Log Level: 2 [15:50:13.262]…
0
votes
0 answers

How to resolve error in codeSandbox when uploading an angular project?

I've created a project in VSC and wanted to upload it to codeSandbox. I used the upload feature via the cli. When I did so I received the following error. A platform with a different configuration has been created. Please destroy it first. See the…
0
votes
0 answers

Add cesium dependency to code sandbox react app won't compile

When we add cesium / resium / craco-cesium to a Code Sandbox demo, we get the following error: [ Tried different versions of Cesium, all with same result. We've seen Cesium demos in Code Sandbox, so we're missing something. Hope someone knows what…
0
votes
0 answers

Codesanbox behavior different from react development for react hook forms

I made a simple form that has different fields and it will only take the ones with a value to update certain values in the database. My plan is to use unregister to remove those fields that were first registered then backspaced. I did it first in a…
0
votes
1 answer

How to sort column with English, Japanese entries and null values using custom sorting algorithm in MUI Data Grid

I have an MUI data grid. I want to create a custom sorting algorithm for columns which can override the default options offered by MUI. My data fields have data in English, Japanese as well as empty/null values. My expected output is to display…
0
votes
1 answer

How to remove nested object in react state without affecting loop

I am trying to dynamically add and remove text fields for user entry. When I click the button to remove a particular row, I want to modify the state object to remove the data of that row thereby causing the row to disappear. However I am unable to…
0
votes
1 answer

Draft.js editor appends highlighted words to end of string for one state update if typed back to back (CodeSandbox attached)

I'm attempting to create a editor with Draft.js which will highlight specific words as the user types them, however I've been running into a bug where if the same highlighted word is typed back to back separated by a single space it will cause the…
Owen
  • 26
  • 3
0
votes
0 answers

Trying to fetch a private package from gitlab into code sandbox using .tgz file

Trying to fetch a private package from gitlab into code sandbox using .tgz file but getting the following error "TypeError Could not fetch dependencies, please try again in a couple seconds: Cannot read properties of undefined (reading…
0
votes
0 answers

Codesandbox refuser connection

I don't know why but it doesn't render the codesandbox page, I create a blank template from scratch or one that gives me the page. but on the browser screen it doesn't come out and it shows the refused connect message, does anyone have an answer,…
0
votes
0 answers

How add server control panel codesandbox to my vue project?

I have vue project in codesandbox, but I would like add secret keys into my project (like token) for correct start project. How I can do it? Or may be you can advice method for hiding token in my vue project on codesandbox?
Spartak Borisov
  • 357
  • 2
  • 4
  • 14
0
votes
1 answer

ref for react-player works on codesandbox but breaks locally

I'm trying to make a player with my own controls, and as I was looking at the demo code for react-player, I saw I had to use ref to play the video from a certain place with a range input. Documentation here In the demo app, ref is used in this way: …
fay
  • 41
  • 8
0
votes
1 answer

Rendering is displayed twice in Codesandbox

I'm used to using Codesandbox, but for the first time like I said in the title the rendering is displayed two times and I don't understand how to fix that. For a simple example, the Contact component is very simple but the title and the button are…
0
votes
1 answer

This domain (lnipkl.csb.app) is not authorized to run this operation

I'm learning to code in reactjs from the codesandbox editor. I want to integrate authentication with firebase. I set up authentication with google and facebook but when I try to check in my application if everything is working I get the following…
problème0123
  • 841
  • 2
  • 9
  • 23
0
votes
1 answer

Why is the react hook form on capturing the data on submit

I am trying to receive the value of the props after the button has been clicked but i am getting it to be undefined. I want to see the years of service and profession information as per the selection. return (
0
votes
1 answer

How to enable Codesandbox auto complete again?

Well, Codesandbox stopped working properly from one day to another, it doesn't auto complete or make any suggestions while writing code and emmet abbreviation doesn't work either. I went to File -> Preferences -> Settings and enabled JavaScript…
Johan
  • 1