Skip to content

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

Open

Description

@ParthG2809

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

Activity

  1. ljharb commented on Apr 15, 2023

    @ljharb
    Collaborator

    It is valid. Are you perhaps using vite?

  2. ParthG2809 commented on Apr 16, 2023

    @ParthG2809
    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

  3. ljharb commented on Apr 16, 2023

    @ljharb
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions