Please verify that the package.json has a valid “main” entry processing method

The error in the following figure shows that the main entry is missing


1. Delete node_ modules     And package-lock.json

2. Entering NPM I on the command line will download the package again  

  3. Check again and no error is reported

Read More: