분류 전체보기(18)
-
NPM code E401
Unable to authenticate, your authentication token seems to be invalid. To correct this please trying logging in again with: npm login what should I do? Azure DevOps->Artifacts->Connect to feed->npm->follow Other Done!
2022.10.27 -
nestjs, typeorm, graphql- 1
common error Nest can't resolve dependencies of the (?). Please make sure that the argument at index [] is available in the context. Potential solutions: - If is a provider, is it part of the current ? - If is exported from a separate @Module, is that module imported within ? @Module({ imports: [ /* the Module containing */ ] }) common error2 TYPEORM If you run into the following error when tryi..
2022.08.18 -
TIL 07082022 - GO 2
strconv - package that implements conversions to and from string representations of basic data types. (most common - Atoi (string to int) and Itoa (int to string)) * Macbook M1에서는 GRPC를 위한 Protobuf 설치에 문제가 있음. 따라서 소스를 내려 받은 후에 로컬에서 컴파일 하는 과정을 거치는 것이 안전한 방법. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" export PATH=/opt/homebrew/bin:$PATH git clon..
2022.07.14 -
TIL 07072022 Node & JS 1
Helmet - Express 사용시 헤더의 설정을 통하여 웹 취약점으로부터 서버를 보호해주는 보안 모듈 XSS(Cross Site Scripting) - 공격자가 상대방의 브라우저에 스크립트가 실행되도록 해 사용자의 세션을 가로채거나, 웹사이트를 변조하거나, 악의적 콘텐츠를 삽입하거나, 피싱 공격을 진행하는 것 ECMAScript로 표준화된 이후로 자바스크립트에는 string, number, boolean, null, undefined, object 6개의 데이터 타입이 있었다. 그리고 es6에서 새로운 데이터 타입 Symbol이 추가 되었다. symbol은 무엇이고 언제 사용하는 걸까? Symbol - 변경 불가능한 원시 타입의 값, 다른 값과 중복되지 않는 고유한 값 moment.js - 날짜 관련..
2022.07.08 -
TIL 07042022 - GO 1
일반적으로 패키지는 라이브러리로서 사용되지만, "main" 이라고 명명된 패키지는 Go Compiler에 의해 특별하게 인식된다. 패키지명이 main 인 경우, 컴파일러는 해당 패키지를 공유 라이브러리가 아닌 실행(executable) 프로그램으로 만든다. 그리고 이 main 패키지 안의 main() 함수가 프로그램의 시작점 즉 Entry Point가 된다. 패키지를 공유 라이브러리로 만들 때에는, main 패키지나 main 함수를 사용해서는 안된다. 패키지 내에는 함수, 구조체, 인터페이스, 메서드 등이 존재하는데, 이들의 이름(Identifier)이 첫문자를 대문자로 시작하면 이는 public 으로 사용할 수 있다. 즉, 패키지 외부에서 이들을 호출하거나 사용할 수 있게 된다. 반면, 이름이 소문자로..
2022.07.04 -
백엔드위주) 신입한테는 물어볼게 별로 없어
오버로딩 / 오버라이딩 스택 오버플로우 메모리 누수 GC(가비지 컬렉션) static 키워드? 스레드 제네릭? 스택 / 힙 HTTP 프로토콜 SQL Injection & 방어방법 쿠키 / 세션 / 토큰 URI / URL / URN ORM / ODM CSR / SSR REST API / RESTful 클로져 호이스팅 / TDZ Callback / Promise / async-await Virtual DOM Props Drilling JSX Node.js - 특히 스레드관련 Event Loop TCP / UDP 프록시 서버 & 필요성 브라우저 렌더링 원리 CORS SOP / Same origin Stack / Queue 재귀 / 재귀함수 js & 싱글스레드? PNG / JPG Dynamic programmi..
2022.05.10