Raynos / function-bind

MIT License
138 stars 27 forks source link

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

Open PGROCKS28 opened 1 year ago

PGROCKS28 commented 1 year ago

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 commented 1 year ago

It is valid. Are you perhaps using vite?

PGROCKS28 commented 1 year ago

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 commented 1 year ago

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