The error in the following figure shows that the main entry is missing
Solution:
1. Delete the two files: node_modules and package-lock.json
2. Entering npm i on the command will download the package again
3. Check again and no error is reported
Read More:
- 【ipfs-api】npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
- package.json And package- clock.json The difference between
- [Python CONDA error] cache entry design failed, entry ignored error resolution
- The solution of package main extensions undefined package struts default
- Error installing OS X virtual machine vcu-0: verify vmcore / VM / main / physmem_ monitor.c:1123
- [Solved] Scala signature package has wrong version expected: 5.0 found: 5.2 in package.class
- Resolve the error raise importerror, str (MSG) + ‘, please install the python TK package’ (valid for personal testing)
- Node.js Medium package.json The difference between devdependences and dependencies
- [Solved] ERROR Error: No module factory availabl at Object.PROJECT_CONFIG_JSON_NOT_VALID_OR_NOT_EXIST ‘Error
- Dependency frame package of Maven Alibaba JSON
- Error in downloading update creation environment of CONDA: collecting package metadata (current_ repodata.json): failed
- Unable to read workspace file ‘D:\angular.json‘: Invalid JSON character: “ “ at
- CONDA failed to create environment (collecting package metadata(repodata.json): failed)
- Error in ROS installation function package bionic / main AMD64
- Eclipse run main method error: a JNI error has occurred, please check your installation and try again
- Go run error go run: cannot run non main package
- Python json.dumps () json.dump The difference between ()
- Idea Maven project uses package to package and report error (package does not exist)
- [jQuery] jQuery operates on JSON strings or JSON objects
- Configuration file for vscode setting.json UI interface or JSON form