The specific error is
[22:54:56] err! Parse WePY config failed. Are you trying to use WePY 2 to build WePY 1 project?
[22:54:56] ERR! Unexpected type: plugins expect a Array
This is because
the version of wepy used in the current project is 1. X, while the version of wepy on the computer is 2, X
NPM install wepy cli – G command installs version 1. X
NPM install @wepy cli – G command installs version 2. X
the difference [email protected]
Locate C:\users\XX\appdata\roaming\NPM\node_Modules folder
delete the @wepy folder, and then execute NPM install wepy cli – G
- [Solved] Vite Project jenkins Auto Package Error: failed to load config from ../vite.config.js You installed esbuild on
- [Solved] Spring cloud config server can’t parse the YML file of the remote warehouse, and it will also report an error
- [Solved] Unity Publish WebGL Error: Unable to parse Build/webTest2.framework.js.gz
- Vue Package Error: npm ERR! missing script: build
- vscode: Error loading workspace: err: exit status 1: stderr: build flag -mod=readonly only valid
- Git Error: please tell me who you are [How to Solve]
- How to Solve Docker ERROR: Service’workspace’ failed to build: ERROR: Service’php-fpm’ failed to build
- Failed to parse host mirrors.opencas.cn [How to Solve]
- How to Solve Import antd Error: Module build failed
- Vue-element-admin Use npm install Error: npm ERR! Error while executing:
- Solve the VUE startup problem (You may use special comments to disable some warnings)
- The page you are requesting cannot be served because of the extension configuration
- [Solved] This application has no explicit mapping for /error, so you are seeing this as a fallback
- [Solved] SpringBoot Error: This application has no explicit mapping for /error, so you are seeing this
- This application has no explicit mapping for /error, so you are seeing this as a fallback.
- How to Solve Error: You need to use a Theme.AppCompat theme (or descendant) with this activity.
- [Solved] Opencv Compile Error: (CMake Error: The following variables are used in this project, but they are set to not)
- [Solved] Using `babel-preset-react-app` requires that you specify `NODE_ENV` or `BABEL_ENV` environment variables. Valid values are “development”, “test”, and “production”. Instead, received: undefined.
- [Solved] pagehelper Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘LIMIT 1’
- How to Solve MVC Error: Build failed.