Frontend
-
[react] How to configure css css-loader in webpack?Frontend/react 2020. 1. 10. 16:34
Error: ERROR in ./node_modules/react-tabs/style/react-tabs.css 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders > .react-tabs { | -webkit-tap-highlight-color: transparent; | } 1 npm install --save-dev css-loader 2 // webpack.config.js v..
-
-
[error] Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/ moment-timezone.js?0efb:44 Uncaught TypeError: Cannot read property 'split' of undefinedFrontend/react 2020. 1. 7. 14:58
Error: Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/ Solution: npm install --save-dev moment-timezone-data-webpack-plugin const MomentTimezoneDataPlugin = require('moment-timezone-data-webpack-plugin'); module.exports = { plugins: [ new MomentTimezoneDataPlugin({ // options }), ] };
-
[HMR] bundle has 1 warningsclient.js?f33d:189 ./node_modules/moment/src/lib/locale/locales.jsModule not found: Error: Can't resolve './locale' in '/.../node_modules/moment/src/lib/locale'Frontend/react 2020. 1. 7. 13:09
Error: [HMR] bundle has 1 warningsclient.js?f33d:189 ./node_modules/moment/src/lib/locale/locales.jsModule not found: Error: Can't resolve './locale' in '/.../node_modules/moment/src/lib/locale' Solution: npm install --save moment npm install --save-dev moment-locales-webpack-plugin // webpack.config.js const MomentLocalesPlugin = require('moment-locales-webpack-plugin'); module.exports = { plug..
-
ERROR in ./node_modules/request/lib/har.jsModule not found: Error: Can't resolve 'fs' in '.../node_modules/request/lib'Frontend/react 2020. 1. 7. 12:17
ERROR in ./node_modules/request/lib/har.js Module not found: Error: Can't resolve 'fs' in '/.../node_modules/request/lib' add webpack config : node: { fs: 'empty', },
-
React 프로젝트 생성하기Frontend/react 2020. 1. 6. 15:31
리엑트 글로벌 패키지 설치 npm install -g create-react-app 프로젝트 생성 create-react-app [프로젝트명] 생성 완료 babel, webpack 등 dependency package들은 ./node_modules/react-scripts 에 설치 되어 package.json엔 보이지 않는다. // package.json { "name": "", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", "react": "^16..
-
린매스 안드로이드 앱 런칭!Frontend/leanmass 2019. 12. 23. 11:03
내가 사용하기 위한 목적으로 오래 목표 중 하나인 헬스 기록 앱을 무사히 런칭했다. 다른 운동 일지 앱들에 비해 많이 부족하지만 재밌게 진행했고, 사용하면서 개선해나갈 것이다. 헬창을 향하여~! https://play.google.com/store/apps/details?id=co.giftree.leanmass 린매스 - 헬스 기록, 운동 기록, 린매스 기록 - Google Play 앱 린매스는 운동을 분명히 열심히 하는데 몸이 크게 변하지 않거나 무게가 크게 늘지 않은 헬스 피트니스 운동인들을 위한 운동 볼륨 기록 앱입니다. 다 같이 린매스 업! ---- 개발자 연락처 : 문의사항는 아래에 남겨주시길 바랍니다. 이메일 : master@giftree.co 연락처 : 010-2188-9896 play.go..