Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid main field #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix invalid main field #1

wants to merge 1 commit into from

Conversation

bcomnes
Copy link

@bcomnes bcomnes commented Aug 9, 2021

Points the main field to the script entry point.

(node:15953) [DEP0128] DeprecationWarning: Invalid 'main' field in 'node_modules/ansi-mark/package.json' of 'ansi-mark'. Please either fix that or report it to the module author

Point's the main field to the script entry point.

```
(node:15953) [DEP0128] DeprecationWarning: Invalid 'main' field in 'node_modules/ansi-mark/package.json' of 'ansi-mark'. Please either fix that or report it to the module author
```
@komninoschatzipapas
Copy link

@F1LT3R Please fix this. I am getting this warning on my project where ansi-mark is a depth-3 dependency

@dngpng
Copy link

dngpng commented Jan 27, 2022

Please fix this. In a project built with Vite, this simply results an error because the pre-bundle process cannot find the correct entry point of this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants