Comments (4)
辛苦提供下mpx info , 以及错误信息
from mpx.
Environment Info:
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
Binaries:
Node: 16.18.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.19.3 - /usr/local/bin/npm
Browsers:
Chrome: 119.0.6045.159
Edge: Not Found
Safari: 14.1.2
npmPackages:
@intlify/vue-devtools: 9.7.0
@mpxjs/api-proxy: ^2.9.0 => 2.9.0
@mpxjs/babel-plugin-inject-page-events: ^2.9.0 => 2.9.0
@mpxjs/cli-shared-utils: 2.1.1
@mpxjs/core: ^2.9.0 => 2.9.0
@mpxjs/eslint-config: 1.0.10
@mpxjs/eslint-config-ts: ^1.0.5 => 1.0.10
@mpxjs/fetch: ^2.9.0 => 2.9.0
@mpxjs/mpx-cli-service: ^2.0.0 => 2.1.1
@mpxjs/pinia: ^2.9.0 => 2.9.0
@mpxjs/size-report: ^2.9.0 => 2.9.0
@mpxjs/store: ^2.9.0 => 2.9.0
@mpxjs/utils: ^2.9.0 => 2.9.0
@mpxjs/vue-cli-plugin-mpx: ^2.0.0 => 2.1.1
@mpxjs/vue-cli-plugin-mpx-eslint: ^2.0.0 => 2.1.1
@mpxjs/vue-cli-plugin-mpx-typescript: ^2.0.0 => 2.1.1
@mpxjs/webpack-plugin: ^2.9.0 => 2.9.0
@vue/cli-overlay: 5.0.8
@vue/cli-plugin-router: 5.0.8
@vue/cli-plugin-vuex: 5.0.8
@vue/cli-service: ~5.0.0 => 5.0.8
@vue/cli-shared-utils: 5.0.8
@vue/compiler-sfc: 2.7.15
@vue/component-compiler-utils: 3.3.0
@vue/devtools-api: 6.5.1
@vue/web-component-wrapper: 1.3.0
eslint-plugin-mpx: 0.2.17
mpx-eslint-parser: 0.0.9
typescript: ^4.1.3 => 4.9.5
vue: ^2.7.0 => 2.7.15
vue-demi: ^0.13.11 => 0.13.11 (0.14.6)
vue-eslint-parser: 7.11.0
vue-hot-reload-api: 2.3.4
vue-i18n: ^8.27.2 => 8.28.2
vue-i18n-bridge: ^9.2.2 => 9.7.0
vue-loader: 17.3.1 (15.11.1)
vue-router: ^3.1.3 => 3.6.5
vue-style-loader: 4.1.3
vue-template-es2015-compiler: 1.9.1
npmGlobalPackages:
@mpxjs/cli: 3.4.0
@vue/cli: 4.5.6
npm run serve
[email protected] serve
mpx-cli-service serve
ERROR Error: Build error
Error: Build error
at /Users/mpx-project/node_modules/@mpxjs/vue-cli-plugin-mpx/utils/webpack.js:28:33
at FancyReporter._renderStates (/Users/mpx-project/node_modules/@mpxjs/vue-cli-plugin-mpx/utils/reporter.js:215:13)
at /Users/mpx-project/node_modules/@mpxjs/vue-cli-plugin-mpx/utils/webpack.js:17:19
at new Promise ()
at handleWebpackDone (/Users/mpx-project/node_modules/@mpxjs/vue-cli-plugin-mpx/utils/webpack.js:5:10)
at /Users/mpx-project/node_modules/@mpxjs/vue-cli-plugin-mpx/commands/serve/mp.js:14:7
at processQueueWorker (/Users/mpx-project/node_modules/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
from mpx.
没有复现,辛苦建一个复现repo,发一下链接。
from mpx.
修改srcMode
为dd
后需要执行yarn build --targets=dd
from mpx.
Related Issues (20)
- wx 转 web 时 externalClasses 不生效 HOT 3
- [Bug report] 每次打包都提示 Error: EBUSY: resource busy or locked, rmdir 'dist/wx' HOT 6
- [Bug report] 转 web时通过 js 引用图片时生成的 原子类代码会有乱码 HOT 1
- [Bug report] Skyline 模式下 worklet 函数写在 composition api 的 setup 中不被触发,写在 methods 中可以触发 HOT 4
- [Feature Request] 希望增加开关控制是否将 unocss 写的临时 px 值在编译结果里转换为 rpx HOT 8
- [Bug report]编译为支付宝小程序不会处理custom-tab-bar目录 HOT 1
- 微信 转 web 时使用 `relations` 建立组件关系,使用`getRelationNodes`获取关联组件报错 HOT 1
- [Bug report] 首次运行pnpm run serve出错 HOT 1
- [Bug report]初始化 npm run serve失败,用了楼上的方法仍然失败 HOT 2
- [Bug report]重新安装脚手架后无法create项目
- [Bug report] `mpx.xfetch`的TS类型报错 HOT 1
- <input> does not support [confirm-type] property in bytedance environment![Bug report] HOT 1
- [Bug report] 多次修改样式调试时报:Cannot read property 'call' of undefined HOT 20
- 可以使用 Vue - Official (volar) 代替 mpx插件 HOT 2
- [Bug report]原子类与scoped 样式隔离bug HOT 2
- Skyline是否支持 HOT 1
- webstorm 2024.1.1什么时候支持mpx插件呢 HOT 2
- [Bug report] 关于编译过程中修改样式导致小程序预览提示报错。 HOT 1
- [Bug report] wxml 存在 <template is="xxx" /> 引用模板的时候,template 里边的事件没法编译,使用不了proxyEventHandler HOT 3
- 请问有能让astro或mdx支持适配mpx的集成包吗 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpx.