first install rimraf
globally, and then try:
npm install -g rimraf
rimraf node_modules
npm install
What is the npm version of ? If you have package-lock.json
this file, delete it first and then delete npm install
add:
npm install babel-preset-react -D
create a new file .babelrc
in the project root directory, and delete babel
from package.json
.
{
"presets": ["env", "react"]
}
in general, take the html file as the entry, automatically find dependent images, css and js, and then name and package them with hash. The referenced images of the new html file, css and js, will be changed to the new name with the hash code. I have ...
The project is a multi-entry application, referring to one and two methods in activity.js in test.js and test1.js, respectively. But in the last two js, it is found that both methods refer to . single entry is not a problem related codes activity...
here are some error messages ERROR in . node_modules mavon-editor dist css index.css 1:0 Module parse failed: Unexpected character @ (1:0) You may need an appropriate loader to handle this file type. > @font-face{font-family:fontello;src:url(.. ...