묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결트렐로 개발로 배우는 Vuejs, Vuex, Vue-Router 프론트엔드 실전 기술
npm install 시 에러
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. trello-server를 다운 받고 npm 설치 시 아래와 같은 오류가 발생합니다. node-gyp, windows build toos 등 cmd 관리자 모드로 실행하여 설치를 하고 다시 실행하였습니다. 하지만 계속 아래와 같은 오류가 발생합니다. 해결 방법을 알려주시면 감사하겠습니다. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated terraformer@1.0.12: terraformer is deprecated and no longer supported. Please use @terraformer/arcgis. npm WARN deprecated terraformer-wkt-parser@1.2.1: terraformer-wkt-parser is deprecated and no longer supported. Please use @terraformer/wkt. npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated node-pre-gyp@0.11.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future npm WARN deprecated sequelize@4.44.4: This version will no longer receive security fixes per our security policy. Please update to sequelize@5 or above. npm ERR! code 1 npm ERR! path C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3 npm ERR! command failed npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@0.11.0 npm ERR! node-pre-gyp info using node@16.4.1 | win32 | x64 npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download npm ERR! node-pre-gyp info check checked for "C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node" (not found) npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-win32-x64.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for sqlite3@5.0.2 and node@16.4.1 (node-v93 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error self signed certificate in certificate chain npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@16.4.1 | win32 | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@16.4.1 | win32 | x64 npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\python.exe" npm ERR! gyp http GET https://nodejs.org/download/release/v16.4.1/node-v16.4.1-headers.tar.gz npm ERR! gyp WARN install got an error, rolling back install npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: self signed certificate in certificate chain npm ERR! gyp ERR! stack at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34) npm ERR! gyp ERR! stack at TLSSocket.emit (node:events:394:28) npm ERR! gyp ERR! stack at TLSSocket._finishInit (node:_tls_wrap:944:8) npm ERR! gyp ERR! stack at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12) npm ERR! gyp ERR! System Windows_NT 10.0.19042 npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\Administrator\\Documents\\trello-backend\\lecture-vue-trello-server-master\\node_modules\\sqlite3\\lib\\binding\\napi-v3-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\Administrator\\Documents\\trello-backend\\lecture-vue-trello-server-master\\node_modules\\sqlite3\\lib\\binding\\napi-v3-win32-x64" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3" npm ERR! gyp ERR! cwd C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3 npm ERR! gyp ERR! node -v v16.4.1 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3\lib\binding\napi-v3-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:394:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19042 npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Administrator\\Documents\\trello-backend\\lecture-vue-trello-server-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd C:\Users\Administrator\Documents\trello-backend\lecture-vue-trello-server-master\node_modules\sqlite3 npm ERR! node-pre-gyp ERR! node -v v16.4.1 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2021-07-02T02_08_55_146Z-debug.log
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
질문 있습니다. open folder 메뉴가 없는 경우 어떻게 해야 하나요?
(사진)
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
&& 의 뜻이 궁금합니다!
&& 가 앤드 연산자인것은 배웠는데 로직쓰실때 정확하게 어떤 원리로 동작하는지 모르겠습니다ㅠㅠ
-
미해결팀 개발을 위한 Git, GitHub 입문
수업 ppt 자료 부탁 드립니다.
수업 ppt 자료 부탁 드립니다. mrsono0@gmail.co 다른 강의 들은 표현이 딱딱해서 어렵게 느껴지는데 비교 표현을 정말 잘 해 주시는거 같읍니다. 감사합니다~ 준비 하시는 다른 강의는 없나요?
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
한가지 상품이 아니라 여러가지 상품을 주문하게 하려면 로직을 어떻게 짜야할까요?
안녕하세요. 강의 잘 듣고 있습니다. 현재 강의에서는 한가지 상품을 선택 후 해당 상품의 수량을 주문할 수 있게 되어 있습니다. 한가지 상품이 아니라 여러가지 상품을 각각 선택, 수량도 상품별로 주문 할 수 있게 하려면 로직을 어떻게 짜야하는지 궁금합니다.
-
미해결[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
좋아요 기능 구현 문제
{% set like = user and twit and twit['Liker'].map(function(value){ return value.id }).includes(user.id) %} {% if user and !like %} <button class='like'> 좋아요</button> {% else %} <button class='unlike'>좋아요 취소</button> {% endif %} 안녕하세요! 유튜브는 좋아요 기능 구현의 프론트 부분이 퍼그 코드로 돼있어서 넌적스 코드로 프론트를 구현하기 위해 위와 같이 바꿨는데, 넌적스는 map 함수가 적용이 안되는건지, 아니면 다른 문제가 있는 것인지 계속해서 오류가 발생합니다. 혹시 위 넌적스 코드의 수정법 혹은 넌적스로 좋아요 기능을 구현하는 다른 방법이 있을까요?
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
아웃바운드 규칙 설정
안녕하세요! 간단한 질문이 있습니다 :) 강의에서는 인바운드와 아웃바운드를 다루고 있으시고 먼저 인바운드 설정을 하신거 같은데 아웃바운드 설정은 안하시는 이유가 있나요?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
풀스택을 위한 도커와 최신서버기술 수업에서 아마존 ec2 관련,,,
독립적인 컴퓨터에 우분투가 설치되어 있는데, 독립적 pc의 우분투 환경에서 해당 온라인 수업을 진행하려고 하는데, 그럼 아마존ec2 에서 안해도 되는지 문의드립니다. (도커수업에 지장이 없는지 하여 의문/궁금사항이 있어서 문의합니다.)
-
미해결Slack 클론 코딩[백엔드 with NestJS + TypeORM]
모듈을 분리했는데 undefined오류가 납니다.
모듈을 분리해서 export const UserUpdate = async function (selectionDto,info) { .... } 이런식으로 분리를 했는데 아래와 같은 오류가 납니다. TypeError: Cannot read property 'createQueryBuilder' of undefined createQueryBuilder 에 Ctrl+마우스 클릭을 하면 해당 메소드로 이동이 되어야 하는데 이동이 안되고 Cannot find declaration to go to 이런 오류가 뜹니다. 혹시 모듈을 따로 만들어서 사용할 때 별도로 임포트를 해야하는 부분이 있을까요? 아니면 어느 부분을 놓치고 있는건지 감이 잡히질 않습니다. 좀도 명확한 오류가 나면 확인을 해 보겠는데..ㅠㅠ
-
미해결Slack 클론 코딩[백엔드 with NestJS + TypeORM]
fs import 관련 질문입니다.
안녕하세요 제로초님 강의 잘 듣고 있습니다. multer 부분 강의를 듣고 있는데 처음 컨트롤러 시작 부분에 upload폴더 생성 로직이 있는데 폴더 read, create 해주는 module인 fs를 import 하는 부분에서 아래와 같이 import를 해주어야 동작을 하는데.. import * as fs from 'fs'; nest 초기 셋팅에서 저기 import * as 없이 아래와 같이 선언해도 되는 셋팅 방법을 알수 있을까요?? import fs from 'fs'; 제로초님 강의중에 있었던 것 같은데 ... 다시 복기하면서 봐도 찾기가 쉽지 않네요 ㅜㅜ 알려주시면 정말 감사드리겠습니다.
-
해결됨[리뉴얼] React로 NodeBird SNS 만들기
글 삭제에 대해서
글 삭제를 하고 서버에서 이런 메세지를 줬습니다. res.status(200).send('게시글이 삭제되었습니다.'); 그리고 이걸 프런트에서 alert로 표시를 하러고 하는데 제가 생각한 방법은 두가지 입니다. 1. saga에서 result.data 를 alert 2. PostCard에서 removePostDone이 true가 되면 삭제를 하고 다른 신호를 줘서 removePostDone이 false가 되게 한다. 둘 다 좋은 코드는 아닌 것 같아서 질문드리려고 합니다! 어떤 좋은 방법이 있을까요?
-
미해결Vue.js + TypeScript 완벽 가이드
Generic auto close 질문드립니다.
vue 파일에서 template에서는 auto close tag가 켜져있고, script 적을 때는 끄는 방법 혹시 아시나요? auto close tag라는 extension이 이를 제어하는 것 같은데 script에서 generic에 타입을 쓰면 자꾸 auto close tag를 생성해서 조금 불편합니다. setting에서 auto-close-tag: Disable On language에 javascript, typescript를 쳐도 안되고 vue를 치면 vue 파일 전체에서 안되서 어떻게 하는지 잘 모르겠네요. 혹시 vue 파일에서 script 태그 내에서만 auto close tag를 끄는 방법은 없을까요?
-
미해결[하루 10분|Web Project] HTML/JS/CSS로 나만의 심리테스트 사이트 만들기
안녕하세요. 글꼴 적용이 되지 않습니다.
판다님 안녕하세요! 수업 잘 듣고 있습니다. 감사합니다. 글꼴 적용이 되지 않아 질문을 드립니다. 구글폰트에서 link을 복사해서 index.html의 head 태그안에 넣고, default.css에 * { font-family: 'Nanum Brush Script', cursive; } 위와같이 style 적용 코드를 넣었습니다. 근데 이렇게 하면 글꼴 적용이 되지 않습니다. 다른 backgorund-color라던가 이런건 다 잘되는데 글꼴만 적용이 되지 않습니다. 그래서 index.html에 직접 <style> * { font-family: 'Nanum Brush Script', cursive; }; </style> 이렇게 넣으면 그제서야 적용이 되는데 왜그런걸까요?
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
구슬 문제처럼 중복순열을 구한 다음 중복되지 않은 값만 추출하면 시간 복잡도 문제가 생길까요?
안녕하세요 강사님! 강의 정말 잘 듣고있습니다. 처음에 문제를 도전해봤을때 단순하게 생각해서 문제를 풀었는데요. 중복순열까지 전부 구한 다음에 중복되지 않은 값을 제거하고 추출하는 식으로 풀었습니다. 이렇게 풀면 문제가 있을까요? <html> <head> <meta charset="UTF-8"> <title>10. 순열 구하기</title> </head> <body> <script> function solution(m, arr) { let answer = []; let tmp = Array.from({ length: m }, () => 0); function DFS(L) { if (L === m) { if (tmp[0] !== tmp[1]) answer.push(tmp.slice()); } else { for (let i = 0; i < arr.length; i++) { tmp[L] = arr[i]; DFS(L + 1); } } } DFS(0) return answer; } let arr = [3, 6, 9]; console.log(solution(2, arr)); </script> </body> </html>
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
res=[0]*n과 res=[]의 차이?
안녕하세요. 선생님. 강의 잘 듣고 있는데, 한 가지 궁금한 점이 있어서 문의드립니다. 문제를 풀다보면 정답을 구하는 과정에서 정답에 필요한 값을 저장할 때 형식이 어떨때는 res=[0]*n로 정할때가 있고 어떨때는 res=[]로 기본값을 설정할 때가 있습니다. res는 0으로 값을 초기화시킨다는 것이고, res는 빈 리스트를 기본값으로 한다는 것인데, 언제 위 둘을 사용하는지 궁금합니다. 알파코드 문제를 예시로 들었을 때, res=[]으로 하면 오류가 나더군요. 강의 잘 듣고 있고, 답변 기다리겠습니다. 감사합니다.
-
미해결리액트로 나만의 블로그 만들기(MERN Stack)
혹시 이런식으로 경로 나오는건 어떻게 하는건가요?
-
미해결Vue.js + TypeScript 완벽 가이드
Getting Started가 안되시는 분들 이렇게 코드 바꿔보세요
강의가 촬영된 시점으로 부터 5개월 정도 지나서인지 chart.js 코드가 조금 바뀐 것 같습니다. 강의를 따라했는데 타입 문제가 있어서 잘 안되더라구요. stackoverflow에서 3가지 방법을 제시해줬는데 그 중 첫 번째와 두 번째를 시도해봤는데 모두 잘 되었고, 가장 간단했던 두번째 해결법을 아래에 남겨둡니다. <script lang="ts"> import Vue from "vue"; import { ChartConfiguration } from "chart.js"; import Chart from "chart.js/auto"; export default Vue.extend({ mounted() { const labels = ["January", "February", "March", "April", "May", "June"]; const data = { labels: labels, datasets: [ { label: "My First dataset", backgroundColor: "rgb(255, 99, 132)", borderColor: "rgb(255, 99, 132)", data: [0, 10, 5, 2, 20, 30, 45], }, ], }; const config: ChartConfiguration = { type: "line", data, options: {}, }; const ctx = ( document.getElementById("myChart") as HTMLCanvasElement ).getContext("2d") as CanvasRenderingContext2D; var myChart = new Chart(ctx, config); }, }); </script>
-
미해결워드프레스 제대로 개발하기 - 어드민 편
안녕하세요
안녕하세요. 안형우님. 안형우님께 개인적으로 교육을 받고 싶은데, 방법이 없을까요 (__)
-
미해결머신러닝 엔지니어 실무
후반부강의 자료 요청드립니다.
강의 잘듣고 있습니다. 후반부 강의 자료 요청 드립니다. 감사합니다. pkmde@naver.com
-
미해결AWS 클라우드 서비스 인프라 구축 이해와 해킹, 보안
쿠버네티스(EKS)와 관련있을까요?
삭제된 글입니다