ERROR in./node_modules/jquery/lib/node-jquery.js

Error:

Modification method:

1. Check whether the default package entry index.js is in the SRC folder (the SRC folder contains index.html and index.js).

2. When installing jQuery in the project directory terminal, run the NPM install jQuery -s command. In this case, install jQuery instead of jQuery, otherwise an error will be reported

The modified result diagram:

Blog.csdn.net/The_Lucky_o…

Error 2: Invalid Configuration Object is reported in the Webpack package. Webpack has been initialized using a configuration object

Problems and solutions:

Change file in the red line to filename to solve the problem.

Modules may also be written as module. See this link for details: Details