inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

손성오님의 게시글

손성오 손성오

@nobleser9617

수강평 작성수
2
평균평점
5.0

게시글 5

질문&답변

params부분 에러

일단 이렇게 parmas를 await으로 감싸니 해결됐는데 이게 맞는 방법일까요? `${process.env.NEXT_PUBLIC_API_SERVER_URL}/book/${(await params).id}`

좋아요수
0
댓글수
3
조회수
425

질문&답변

params부분 에러

전체 코드도 첨부 하겠습니다 import style from "./page.module.css"; export default async function Page({ params, }: { params: Promise ; }) { const result = await fetch( `${process.env.NEXT_PUBLIC_API_SERVER_URL}/book/${params.id}` ); if (!result.ok) { return 에러 발생 ... ; } const book = await result.json(); const { id, coverImgUrl, title, subTitle, author, publisher, description } = book; return ( {title} {subTitle} {author} | {publisher} {description} ); }

좋아요수
0
댓글수
3
조회수
425

질문&답변

git push origin master 입력시 오류가 발생합니다

noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp $ git config --global user.name "Sonseongoh" noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp $ git config --global user.email " nobleser@naver.com " noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp $ git config --global core.editor nano noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp $ git init Initialized empty Git repository in C:/Users/noble/OneDrive/바탕 화면/precamp/.git/ noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git remote add origin https://github.com/Sonseongoh/precamp.git01~ noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git remote -v origin https://github.com/Sonseongoh/precamp.git01~ (fetch) origin https://github.com/Sonseongoh/precamp.git01~ (push) noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git status On branch master No commits yet Untracked files: (use "git add ..." to include in what will be committed) class/ cyworld/ nothing added to commit but untracked files present (use "git add" to track) noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git add. git: 'add.' is not a git command. See 'git --help'. The most similar command is add noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git add . noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git status On branch master No commits yet Changes to be committed: (use "git rm --cached ..." to unstage) new file: class/01-html/01-tag.html new file: class/01-html/02-signup copy.html new file: class/01-html/02-signup.css new file: class/01-html/02-signup.html new file: class/02-css/01-boxmodel.html new file: class/03-javascript/01-variable.html new file: class/03-javascript/01-variable.js new file: class/03-javascript/02-object-array.js new file: class/03-javascript/04-document.html new file: class/03-javascript/04-document.js new file: class/03-javascript/05-function.html new file: class/03-javascript/05-function.js new file: class/03-javascript/06-timer.html new file: class/03-javascript/06-timer.js new file: class/03-javascript/07-signup.html new file: class/03-javascript/07-signup.js new file: class/03-javascript/08-phone.html new file: class/03-javascript/08-phone.js new file: "class/03-javascript/\354\227\260\354\212\265-01-array,js" new file: "class/03-javascript/\354\227\260\354\212\265-02-eamil-split.js" new file: "class/03-javascript/\354\227\260\354\212\265-03-object.js" new file: "class/03-javascript/\354\227\260\354\212\265-04-object-in-arr.js" new file: "class/03-javascript/\354\227\260\354\212\265-05-variable-if.js" new file: "class/03-javascript/\354\227\260\354\212\265-06-for.js" new file: "class/03-javascript/\354\227\260\354\212\265-07-Math.js" new file: "class/03-javascript/\354\227\260\354\212\265-08-timer.js" new file: class/final/final.css new file: class/final/final.html new file: class/final/final.js new file: cyworld/game.html new file: cyworld/game.js new file: cyworld/home.html new file: cyworld/images/background.png new file: cyworld/images/jukebox-01.png new file: cyworld/images/jukebox-02.png new file: cyworld/images/jukebox03.png new file: cyworld/images/lotto.png new file: cyworld/images/outerbox.png new file: cyworld/images/word.png new file: cyworld/index.html new file: cyworld/index.js new file: cyworld/jukebox.html new file: cyworld/styles/game.css new file: cyworld/styles/home.css new file: cyworld/styles/index.css new file: cyworld/styles/jukebox.css noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git commit -m '내 인생의 첫 잔디' [master (root-commit) d4e92f1] 내 인생의 첫 잔디 46 files changed, 1674 insertions(+) create mode 100644 class/01-html/01-tag.html create mode 100644 class/01-html/02-signup copy.html create mode 100644 class/01-html/02-signup.css create mode 100644 class/01-html/02-signup.html create mode 100644 class/02-css/01-boxmodel.html create mode 100644 class/03-javascript/01-variable.html create mode 100644 class/03-javascript/01-variable.js create mode 100644 class/03-javascript/02-object-array.js create mode 100644 class/03-javascript/04-document.html create mode 100644 class/03-javascript/04-document.js create mode 100644 class/03-javascript/05-function.html create mode 100644 class/03-javascript/05-function.js create mode 100644 class/03-javascript/06-timer.html create mode 100644 class/03-javascript/06-timer.js create mode 100644 class/03-javascript/07-signup.html create mode 100644 class/03-javascript/07-signup.js create mode 100644 class/03-javascript/08-phone.html create mode 100644 class/03-javascript/08-phone.js create mode 100644 "class/03-javascript/\354\227\260\354\212\265-01-array,js" create mode 100644 "class/03-javascript/\354\227\260\354\212\265-02-eamil-split.js" create mode 100644 "class/03-javascript/\354\227\260\354\212\265-03-object.js" create mode 100644 "class/03-javascript/\354\227\260\354\212\265-04-object-in-arr.js" create mode 100644 "class/03-javascript/\354\227\260\354\212\265-05-variable-if.js" create mode 100644 "class/03-javascript/\354\227\260\354\212\265-06-for.js" create mode 100644 "class/03-javascript/\354\227\260\354\212\265-07-Math.js" create mode 100644 "class/03-javascript/\354\227\260\354\212\265-08-timer.js" create mode 100644 class/final/final.css create mode 100644 class/final/final.html create mode 100644 class/final/final.js create mode 100644 cyworld/game.html create mode 100644 cyworld/game.js create mode 100644 cyworld/home.html create mode 100644 cyworld/images/background.png create mode 100644 cyworld/images/jukebox-01.png create mode 100644 cyworld/images/jukebox-02.png create mode 100644 cyworld/images/jukebox03.png create mode 100644 cyworld/images/lotto.png create mode 100644 cyworld/images/outerbox.png create mode 100644 cyworld/images/word.png create mode 100644 cyworld/index.html create mode 100644 cyworld/index.js create mode 100644 cyworld/jukebox.html create mode 100644 cyworld/styles/game.css create mode 100644 cyworld/styles/home.css create mode 100644 cyworld/styles/index.css create mode 100644 cyworld/styles/jukebox.css noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $ git push origin master remote: Repository not found. fatal: repository ' https://github.com/Sonseongoh/precamp.git01~/ ' not found noble@DESKTOP-KTV3CKQ MINGW64 ~/OneDrive/바탕 화면/precamp (master) $

좋아요수
0
댓글수
2
조회수
906

질문&답변

git push origin master 입력시 오류가 발생합니다

주소 복사해서 오는 과정에서 ~가 나와서 그런것 같은데 강의영상대로 따라하는 과정에서 문제가 없었는데 git push origin master를 입력하는 과정에서 문제가 발생했습니다 무시하고 처음부터 다시 입력하여 ~부분만 빼고 다시 입력해도 되는지 아니면 충돌같은게 일어날수 있으니 삭제방법이 있는지 궁금합니다 혹시 몰라서 입력값과 결과값 모두 남겨두겠습니다

좋아요수
0
댓글수
2
조회수
906