npm install 시 npm no such file or directory, open~ 에러
npm cache 삭제 : npm cache clean --force
node_modules파일 삭제: rm -rf ./node_modules/
package-lock.json 파일 삭제: rm package-lock.json
npm 재설치 : npm --verbose install
import관련 typescript에러
npm i -D eslint-plugin-import @typescript-eslint/parser eslint-import-resolver-typescript
settings: {
'import/resolver': {
typescript: {},
},
},
Expected 'this' to be used by class method...
class안에 this를 사용하지 않는 메소드는 prototype과 상관없는 메소드니까 수정하라는 것
꼭 그대로 사용하고 싶다면 static메소드로 변경하거나 helperMethod를 사용하자
GIT Pull 시 개행문자 관련.
기본설정은 윈도우는 CRLF므로 git 설정을 변경해준다 git config --global core.eol lf