I think everything is explained below.
C:\Users\User\notes-app-api>serverless invoke local --function create --path mocks/create-event.json
Serverless: DOTENV: Loading environment variables from .env:
Serverless: - tableName
Serverless: Bundling with Webpack...
ERROR in C:/Users/User/notes-app-api/create.js
Module build failed (from C:/Users/User/notes-app-api/node_modules/eslint-loader/index.js):
Error: Failed to load plugin react: Cannot find module 'eslint-plugin-react'
........
Your Environment Information ---------------------------
Operating System: win32
Node Version: 10.13.0
Framework Version: 1.61.3
Plugin Version: 3.3.0
SDK Version: 2.3.0
Components Core Version: 1.1.2
Components CLI Version: 1.4.0