소개
게시글
질문&답변
2022.03.30
back에서 npm i 했을 때 오류가 납니다..
package-lock.json 지우니 되네요. 감사합니다
- 12
- 9
- 267
질문&답변
2022.03.07
aws 에서 front 빌드 시 에러가 뜨는데 해매고 있습니다..
{ "parser" : " babel-eslint " , "parserOptions" : { "ecmaVersion" : 2020 , "sourceType" : " module " , "ecmaFeatures" : { "jsx" : true } }, "env" : { "browser" : true , "node" : true , "es6" : true }, "extends" : [ " airbnb " , " eslint:recommended " , " next " ], "plugins" : [ " import " , " react-hooks " ], "rules" : { "jsx-a11y/label-has-associated-control" : " off " , "jsx-a11y/anchor-is-valid" : " off " , "no-console" : " off " , "no-underscore-dangle" : " off " , "react/forbid-prop-types" : " off " , "react/jsx-filename-extension" : " off " , "react/jsx-one-expression-per-line" : " off " , "object-curly-newline" : " off " , "linebreak-style" : " off " , "no-param-reassign" : " off " } } { "name" : " react-nodebird-front " , "version" : " 1.0.0 " , "description" : "" , "main" : " index.js " , "scripts" : { "dev" : " next -p 3060 " , "build" : " cross-env ANALYZE=true NODE_ENV=production next build " , "start" : " cross-env NODE_ENV=production next start -p 3060 " }, "author" : " yodafolio " , "license" : " ISC " , "dependencies" : { "@ant-design/icons" : " ^4.7.0 " , "@next/bundle-analyzer" : " ^12.1.0 " , "antd" : " ^4.16.13 " , "axios" : " ^0.24.0 " , "cross-env" : " ^7.0.3 " , "faker" : " ^5.5.3 " , "immer" : " ^9.0.7 " , "moment" : " ^2.29.1 " , "next" : " ^12.0.4 " , "next-redux-wrapper" : " ^7.0.5 " , "prop-types" : " ^15.7.2 " , "react" : " ^17.0.2 " , "react-dom" : " ^17.0.2 " , "react-redux" : " ^7.2.6 " , "react-slick" : " ^0.28.1 " , "redux" : " ^4.1.2 " , "redux-devtools-extension" : " ^2.13.9 " , "redux-saga" : " ^1.1.3 " , "shortid" : " ^2.2.16 " , "styled-components" : " ^5.3.3 " , "swr" : " ^1.2.1 " }, "devDependencies" : { "@next/eslint-plugin-next" : " ^12.1.0 " , "babel-eslint" : " ^10.1.0 " , "babel-plugin-styled-components" : " ^1.13.3 " , "eslint" : " ^8.10.0 " , "eslint-config-airbnb" : " ^19.0.1 " , "eslint-plugin-import" : " ^2.25.3 " , "eslint-plugin-jsx-a11y" : " ^6.5.1 " , "eslint-plugin-react" : " ^7.27.1 " , "eslint-plugin-react-hooks" : " ^4.3.0 " } }
- 0
- 2
- 487
질문&답변
2022.03.03
프론트 서버에서 빌드시 react-dom이 없어서 빌드 실패가 뜨는데...
저도 의문인게 강의 처음부터 끝까지 따라 왔는데 프론트package.json 에 cross-env, react, react-dom이 포함이 안되어 있더라고요;; 그리고 AWS에서 빌드 시 질문자 님과 같은 빌드 실패가 일어나 해당 패키지를 추가하고 빌드를 하니 또다른 에러를 만나고 있습니다.;;; 제로초님의채 ch7번 의 package.json을 보면 다 들어 있던데 어디서 놓친건지;
- 0
- 2
- 129
질문&답변
2020.02.28
response를 콘솔창에 찍어봤을때 undefined 가 뜹니다
registerUser 함수의 axios.post 에 return 을 넣어주니 해결이 되었어요.. 음.. 아직 왜 return을 넣으면 해결되는지는 이해를 못했네요;;
- 2
- 3
- 416
질문&답변
2020.02.12
eslint 와 prettier 설정시 오류
(사진) (사진) 이처럼 세팅은 동일 하게 다 했습니다.
- 2
- 16
- 18K