Skip to content

Yarn v2 error because unist-util-stringify-position is not in package.json #2

Closed
@dungle-scrubs

Description

@dungle-scrubs

When using Yarn v2, I get the following error:

Error: mdast-util-mdx-jsx tried to access unist-util-stringify-position, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

I can see that from-markdown.js has var stringifyPosition = require('unist-util-stringify-position')

Should this be added to package.json?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions