Skip to content

Help - package not find with yarn but ok with npm #6123

@Inateno

Description

@Inateno

Hi,

I'm new to yarn and I create a project using yarn workspace along Lerna, I was previously using npm and everything was working, decided to try yarn to optimize the process of "install".

So far everything is great, I just have an issue with "babel-plugin-transform-decorators-legacy" and/or "babel-plugin-transform-decorators" (tried both):

yarn install v1.7.0
[1/4] Resolving packages...
error Couldn't find package "babel-plugin-transform-decorators-legacy" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

I tried a simple "yarn install" (reading from packages.json) and a "yarn add" (with -W) both are failing while "npm i" works.
Maybe there is something about cache or a registry stuff npm include by default and yarn doesn't?

Thanks.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions