In the configuration of Babel times wrong below
as we can see from the error prompt time configuration Babel when make a mistake, then we need to look to the specific configuration of Babel, this is my configuration
from the configuration, see can see problems in persets words are spelt wrong, this kind of error is quite common, the correct method is presets
Read More:
- Solution: ‘import’ and ‘export’ may appear only with ‘sourcetype: module’
- Error: Cannot find module ‘@babel/core’
- Gulp failed to run
- Module build failed (from ./node_modules/babel-loader/lib/index.js) babel-loader
- Webpack — module build failed: error: the node API for ‘Babel’ has been moved to Babel core
- How to Fix webpack Module build failed Error: The node API for ‘babel’ has been moved to babel-core
- Module build failed Error Plugin/Preset files are not allowed to export objects, only functions (How to Fix)
- Vue の NPM run serve error: parsing error: unexpected token<
- Module build failed: SyntaxError: Unexpected token
- Module build failed: error:couldn’t find preset “env” relative to directory
- Solr 4.0 SolrException: Error opening new searcher java.io.FileNotFoundException problem solution
- Android resource compilation failed (How to Fix)
- Configuration problem of pcl1.9.1 under Windows 10 vs2017 (solved)
- Pull the git warehouse code IDEA reports an error: Clone failed: Authentication failed for’http://10.xx.XXXXXXXXXXXXXXXXX’
- Possible causes and solutions of 404 problems in accessing servlet pages
- Learn English together | three ways to realize digital factorial with JavaScript
- Solution to Tomcat starting error listener start
- Debugging mode of MATLAB: dbstop if error
- [Handling Notes] Alternative reasons for Configuration system failed to initialize exception
- Error: enoent: no such file or directory, stat ‘/ usr / local / var / www / / book/gitbook/git