Why vfile-message dependence is self with yarn @type? #61
-
I am using gatsby-plugin-ts and gatsby-theme-blog. Got an Error when tsc: lost /node_modules/@types/vfile/index.d.ts I am not sure is it a npm publish mistake? or it's a mistake by yarn? P.S. npm works. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
the As for the specific error, it sound like a problem with yarn. |
Beta Was this translation helpful? Give feedback.
the
@types/vfile-message
package has been deprecated/replaced byvfile-message
having it's own native typings.Definitely typed as part of the deprecation process, redirects the types to the actual package https://github.com/DefinitelyTyped/DefinitelyTyped/blob/3ca6e2420bb5dbef73e971871890e5f47f1f0d79/notNeededPackages.json#L4844-L4848
any package still depending on
@types/vfile-message
should remove the dependency, and update tovfile-message
latest if possible.As for the specific error, it sound like a problem with yarn.