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

[NODE 16] deprecation warning on exports field #1387

Closed
Manish3323 opened this issue Apr 22, 2021 · 1 comment · Fixed by #1400
Closed

[NODE 16] deprecation warning on exports field #1387

Manish3323 opened this issue Apr 22, 2021 · 1 comment · Fixed by #1400

Comments

@Manish3323
Copy link

Error :
Screenshot 2021-04-22 at 9 09 40 PM

To reproduce :
Update Node to version 16

The particular entry of package.json exports field

   "./": "./"

needs to be replaced with

   "./": "./*"
@Manish3323 Manish3323 changed the title [NODE 16] deprecation warning [NODE 16] deprecation warning on exports field Apr 22, 2021
@Alhadis
Copy link
Contributor

Alhadis commented May 25, 2021

I think you mean

	"./*": "./*.js"

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