Giter Site home page Giter Site logo

Comments (4)

IgorSmugalov avatar IgorSmugalov commented on May 27, 2024

@SlumberyDude
Похожая ситуация, как и в issue #266 с пакетом того же автора:
В модуле kratos сейчас используется альфа-версия - @ory/kratos-client
Недавно этот пакет ушел в релиз, api сменился, за 30 минут разобраться не смог, но скорее всего нужно обновлять весь kratos, есть ли смысл обновлять остальные зависимости?

from nestjs.

SlumberyDude avatar SlumberyDude commented on May 27, 2024

@IgorSmugalov Да, обновляй все что обновляется без ломания чеков, а кратос тогда оставляй старый

from nestjs.

IgorSmugalov avatar IgorSmugalov commented on May 27, 2024

@SlumberyDude

Результат:
Все пакеты обновлены до максимальных версий

Исключения:

@ory/kratos-client не обновлен: сменился api пакета по причине выхода в релиз

get-port обновлен до 6.1.2, максимально доступная версия: 7.0.0: при попытке ее использования происходит ошибка:

➤ YN0000: │ ../../.yarn/berry/cache/get-port-npm-7.0.0-72b8a92f99-9.zip/node_modules/get-port/index.d.ts
➤ YN0000: │ 
➤ YN0000: │   Error: Module '"node:net"' has no exported member 'type'.
➤ YN0000: │ 
➤ YN0000: │ 
➤ YN0000: │ ../../.yarn/berry/cache/get-port-npm-7.0.0-72b8a92f99-9.zip/node_modules/get-port/index.d.ts
➤ YN0000: │ 
➤ YN0000: │   Error: ',' expected.

@types/express обновлен до 4.17.13, максимально доступная версия: 4.17.17: при попытке ее использования происходит конфликт с @types/express-serve-static-core, поднять версию выше 4.17.13 не получилось, issue по этой ошибке

../../.yarn/berry/cache/@types-express-npm-4.17.2-01365c5cb9-9.zip/node_modules/@types/express/index.d.ts
➤ YN0000: │ 
➤ YN0000: │   Erro: Conflicting definitions for 'express-serve-static-core' found at 
➤ YN0000: │       '/Users/igorsmugalov/.yarn/berry/cache/@types-express-serve-static-core-npm-4.17.36-87a82f5a6b-9.zip/node_modules/@types/express-serve-static-core/index.d.ts' and 
➤ YN0000: │       '/Users/igorsmugalov/.yarn/berry/cache/@types-express-serve-static-core-npm-4.17.24-cd6b9fd3ba-9.zip/node_modules/@types/express-serve-static-core/index.d.ts'. Consider installing a specific 
➤ YN0000: │       version of this library to resolve the conflict.
➤ YN0000: │         The file is in the program because:
➤ YN0000: │           Type library referenced via 'express-serve-static-core' from file '/Users/igorsmugalov/.yarn/berry/cache/@types-express-npm-4.17.13-0e12fe9c24-9.zip/node_modules/@types/express/index.d.ts' with
➤ YN0000: │        packageId '@types/express-serve-static-core/[email protected]'
➤ YN0000: │           Imported via 'express-serve-static-core' from file '/Users/igorsmugalov/.yarn/berry/cache/@types-express-npm-4.17.13-0e12fe9c24-9.zip/node_modules/@types/express/index.d.ts' with packageId 
➤ YN0000: │       '@types/express-serve-static-core/[email protected]'
➤ YN0000: │           Type library referenced via 'express-serve-static-core' from file '/Users/igorsmugalov/.yarn/berry/cache/@types-express-npm-4.17.2-01365c5cb9-9.zip/node_modules/@types/express/index.d.ts' with 
➤ YN0000: │       packageId '@types/express-serve-static-core/[email protected]'

Тесты проходят без ошибок:

  • yarn install
  • yarn check
  • yarn test unit
  • build
  • prepack

Делаю PR?

from nestjs.

SlumberyDude avatar SlumberyDude commented on May 27, 2024

@IgorSmugalov Да, делай

from nestjs.

Related Issues (20)

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.