Coder Social home page Coder Social logo

080203's Issues

9.2장 yarn eject이후 sass 설정과정

          use: getStyleLoaders({
            importLoaders: 2,
            sourceMap: isEnvProduction && shouldUseSourceMap
          }).concat({
            loader: require.resolve('sass-loader'),
            options: {
                includePaths: [paths.appSrc + '/styles'],
                sourceMap: isEnvProduction && shouldUseSourceMap
            }
          }),

기존코드에서는 에러가 발생합니다.

          use: getStyleLoaders({
            importLoaders: 2,
            sourceMap: isEnvProduction && shouldUseSourceMap
          }).concat({
            loader: require.resolve('sass-loader'),
            options: {
              sassOptions: {
                includePaths: [paths.appSrc + '/styles'],
                sourceMap: isEnvProduction && shouldUseSourceMap
              }
            }
          }),

이렇게 options안에 sassOptions 안에 설정 이후 정상작동합니다.

-참조 : webpack-contrib/sass-loader#756

리엑트 최적화 react-virtualized 적용방법이 궁금합니다.

현재 적용중인 리엑트는 8.19.2 버전입니다.
305p의 react-virtualized 사용하라고 되어있는데 버전에러가 있어서 문제가있습니다.
다른 해결방안으로 npm i --force react-virtualized
npm install react-virtualized --legacy-peer-deps 등등 방법으로 했지만 해결을 하지못했습니다.
도와주세요.

env 파일 MONGO_URI connect ECONNREFUSED 이슈 env 파일 MONGO_URI connect ECONNREFUSED 이슈

ch 22 책 내용에 있는 env파일의 내용대로 진행 했습니다.

MONGO_URI=mongodb://localhost:27017/blog
여기서 [MongoDB]MongooseServerSelectionError: connect ECONNREFUSED ::1:27017 오류가 발생합니다.
ip6로 변환 하려고 시도하는것 같습니다.
하기 내용과 같이 ip4로 직접 설정 해줘야 할것 같습니다.

MONGO_URI=mongodb://127.0.0.1:27017/blog
로 바꿔주면 문제 없습니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.