소개
게시글
질문&답변
2023.02.04
Vuex 사용하여 {{ 데이터 }} 표시시 에러 발생합니다..
npm i vuex@3.6.2 --save 로 vuex를 다시 설치하세요. 버전이 안맞아서 그런것 같습니다. (영상에 자막으로 저 버전을 설치하라고 나옵니다)
- 1
- 2
- 485
질문&답변
2021.07.17
userData?.Workspaces.map 타입에러가 납니다.
저도 같은 에러가 났는데요. login/index.tsx에 mutate를 주석 처리하고 기존에 revalidate를 활성화 하니까 됩니다. 이게 맞는지는 모르겠지만요 axios . post ( ' /api/users/login ' ,{ email , password }, { withCredentials : true } ) . then ( ( response ) =>{ revalidate () ; // mutate(response.data, false); } )
- 0
- 2
- 99
질문&답변
2020.10.27
eslint 설정에 관하여
package.json에 eslint를 5.14로 다운 그레이드하니까 됩니다. 그런데 왜 그런지는 모르겠습니다.
- 1
- 3
- 573
질문&답변
2020.10.26
eslint 설정에 관하여
VSCode의 Settings.json { "workbench.colorTheme" : " Night Owl " , "workbench.iconTheme" : " material-icon-theme " , "atomKeymap.promptV3Features" : true , "editor.multiCursorModifier" : " ctrlCmd " , "editor.formatOnPaste" : true , "workbench.startupEditor" : " newUntitledFile " , "emmet.includeLanguages" : { "javascript" : " javascriptreact " }, "eslint.validate" : [ " vue " , " javascript " , " javascriptreact " , " typescript " , " typescriptreact " , ], "editor.codeActionsOnSave" : { "source.fixAll.eslint" : true }, // don't format on save "editor.formatOnSave" : false } " terminal.integrated.shell.windows " : " C: \\ Program Files \\ Git \\ bin \\ bash.exe " } ESLint 에러로그 [Info - 오후 9:20:12] ESLint server is starting [Info - 오후 9:20:13] ESLint server running in node v12.14.1 [Info - 오후 9:20:13] ESLint server is running. [Info - 오후 9:20:16] ESLint library loaded from: D:\vue\typescript\quiz\1_todo\node_modules\eslint\lib\api.js [Error - 오후 9:20:16] Failed to load plugin '@typescript-eslint' declared in 'quiz\1_todo\.eslintrc.js': Cannot find module '@typescript-eslint/eslint-plugin' Require stack: - D:\vue\typescript\__placeholder__.js Referenced from: D:\vue\typescript\quiz\1_todo\.eslintrc.js Happened while validating D:\vue\typescript\quiz\1_todo\src\index.ts This can happen for a couple of reasons: 1. The plugin name is spelled incorrectly in an ESLint configuration file (e.g. .eslintrc). 2. If ESLint is installed globally, then make sure '@typescript-eslint/eslint-plugin' is installed globally as well. 3. If ESLint is installed locally, then '@typescript-eslint/eslint-plugin' isn't installed correctly. Consider running eslint --debug D:\vue\typescript\quiz\1_todo\src\index.ts from a terminal to obtain a trace about the configuration files used. 입니다. 감사합니다.
- 1
- 3
- 573
질문&답변
2020.10.23
연락처 접근하기에서
react-native-contacts 버전 5.X 대로 낮춰서 하니까 됩니다.~~
- 0
- 2
- 380