Code Monkey home page Code Monkey logo

13th-4team's People

Contributors

harseille avatar jangdaljin avatar sangbooom avatar stae1102 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

13th-4team's Issues

yarn berry 프리즈마 에러 사항 정리

yarn berry 프리즈마 에러 사항

  • PrismaClient를 못 불러오는 에러 발생

image

원인

해결방안

  1. prisma를 라이브러리로 생성하여 관리하기
  • generated를 생성하여 라이브러리로 관리합니다.
  • CLI yarn run db:generated를 실행하면 아래와 같이 prisma 폴더가 생성됩니다.
  • 아래 폴더에서 prismaClient를 가져와서 활용하게 됩니다!

image

image


  1. prisma만 따로 node_modules로 생성하여 관리하기

  1. Nestjs + yarn berry + prisma
  • 해당 github README에 Yarn (berry) version 3.1.0 (PnP disabled since it's not supported by NestJs and Prisma yet) 문구가 있습니다

  • 혹시 prisma가 지원되지 않는 걸까요 ㅠㅠㅠ

  • Nestjs + yarn berry + Prisma github Example


  • 회의 전까지 더 찾아보고 시도해 보겠습니다
  • 혹시 현 모노레포에서 prisma가 되는 방법을 아신다면 조언 부탁드립니다 ( _ _)

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.