Loading views...
roundchecker 에러수정

roundchecker 에러수정

Date
Date
2020 Jan 9 0:0
Created by
Created by
Seonglae ChoSeonglae Cho
Created time
Created time
2023 Feb 28 12:39
Last edited by
Last edited by
Seonglae ChoSeonglae Cho
Last edited time
Last edited time
2023 Apr 15 16:48
Refs
Refs
위치에러
재생성 불가능 에러
마운트
닫기 이벤트 에러
 
 

위치에러 + 재생성 불가 에러


notion image
위치에러 모두 수정함 박스 크기가 정해져있어서
이런 식으로 모두 px 을 정해줘야 위치가 정해졌다
 
 

table margin 오류수정


notion image
 
 
 
notion image
여러 가지 방식을 해보다가 js 가 full path input으로 보안 문제가 있어서 못읽어온다는 것을 깨닫고 (브라우저의 한계) 직접 적는 방식으로 했다
 

api


일단 서버에 api 구현하고
 
 
[1분 패키지 소개] : body-parser를 소개합니다. 하지만, body-parser를 쓰지 마세요.
body-parser는 node.js 모듈입니다. 클라이언트 POST request data의 body로부터 파라미터를 편리하게 추출합니다. . 저는 다음과 같은 데이터를 body에 담아 POST request 를 보내고자 합니다. 서버단에서 express를 써서 POST request를 처리하는 방법은 다음과 같습니다. var express = require('express')app.post('/profile', function(req, res) => {var app = express() console.log(req.body)}) 그런데, 위 코드 기준 5번째 줄 console.log(req.body) 라인에서 undefined Error를 마주하게 됩니다.
[1분 패키지 소개] : body-parser를 소개합니다. 하지만, body-parser를 쓰지 마세요.
 
  • body-parser
backback.tistory.com
post 위해서 body parser json 필요
 
여기에 이슈 정리해뒀는데 json 파싱한거 다시 파싱하는 경우 에러때문에 한참 해맨...
 
이렇게 fetch 보내고 await 한 다음에 bus emit으로 round 불러오면 완.성
 
완성
 
 
 
 

Recommendations