BUG cannot install nestjs-sentry-graphql with yarn
7Z0nE opened this issue · comments
First of all, thanks for forking and making nestjs-sentry usable! ntegrals package was unfortunately not working for me.
$ yarn add @travelerdev/nestjs-sentry-graphql
yarn add v1.22.19
[1/4] Resolving packages...
error Package "" refers to a non-existing file '"/private/path/to/my/project/api/packages/nestjs-sentry"'.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Do you know whats up with that? I assume something is not alright with the package.json.
Hey @7Z0nE - Sorry you've had to wait a month to hear the outcome on this!
Yes, this is something not right with the package.json
. The dependency on nestjs-sentry
in the graphql package was defined using a relative import, which made sense when you're dealing with packages in the same monorepo. However, yarn
gets upset about this (in a way that strangely npm does not - TIL).
I'll have a point release up to fix this momentarily.
4.1.1 has been published to npm which resolves this issue. Confirmed locally that yarn add now resolves correctly.