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

Please verify that the package.json has a valid "main" entry #17

Open
PGROCKS28 opened this issue Apr 15, 2023 · 3 comments
Open

Please verify that the package.json has a valid "main" entry #17

PGROCKS28 opened this issue Apr 15, 2023 · 3 comments

Comments

@PGROCKS28
Copy link

Cannot find module 'D:\Final MERN Project\mernProjectEcommerce-master\frontend\node_modules\function-bind\index'

What to do in this scenario.
I checked the package.json file of the function-bind from node modules and it seems quite alright but still this error is prompting in my terminal as soon as I start my frontend terminal

@ljharb
Copy link
Collaborator

ljharb commented Apr 15, 2023

It is valid. Are you perhaps using vite?

@PGROCKS28
Copy link
Author

No I am not using vite. I am using simple MERN Stack but still the above error is prompting up when I run the development server

@ljharb
Copy link
Collaborator

ljharb commented Apr 16, 2023

What provides that error message? What bundler are you using?

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

No branches or pull requests

2 participants