We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug A clear and concise description of what the bug is.
$ pnpm run dev
[email protected] dev /Users/xxx/mini-program/mor-app mor compile --watch
[mor] ℹ 发现配置文件: mor.config.ts [mor] ✔ 配置文件加载成功: mor.config.ts [mor] ℹ 准备配置中, 即将开始编译 👇 配置名称: wechat-miniprogram 编译目标: 微信小程序 编译环境: development 编译类型: 小程序 编译模式: bundle 源码类型: wechat 源码目录: src 输出目录: dist/wechat [mor] ℹ 已开启缓存, 可通过 --no-cache 关闭 [mor] ℹ 启动文件监听模式 [mor] ℹ 开始编译 ... [mor] ℹ 依赖分析中 ... [mor] ℹ 依赖分析完成: 耗时: 87.816729 ms [mor] ✔ 编译完成, 耗时: 624.34235 ms
[mor] ℹ 准备配置中, 即将开始编译 👇 配置名称: alipay-miniprogram 编译目标: 支付宝小程序 编译环境: development 编译类型: 小程序 编译模式: bundle 源码类型: wechat 源码目录: src 输出目录: dist/alipay [mor] ℹ 已开启缓存, 可通过 --no-cache 关闭 [mor] ℹ 启动文件监听模式 [mor] ℹ 开始编译 ... [mor] ℹ 依赖分析中 ... [mor] ℹ 依赖分析完成: 耗时: 100.650343 ms [mor] ✔ 编译完成, 耗时: 289.723189 ms
[mor] ℹ 准备配置中, 即将开始编译 👇 配置名称: web 编译目标: Web 应用 编译环境: development 编译类型: 小程序 编译模式: bundle 源码类型: wechat 源码目录: src 输出目录: dist/web [mor] ℹ 已开启缓存, 可通过 --no-cache 关闭 [mor] ℹ 启动文件监听模式 [mor] ℹ 开始编译 ... [mor] ℹ 依赖分析中 ... [mor] ℹ 依赖分析完成: 耗时: 95.986822 ms [mor] ⠴ 正在编译, 进度: 92.44% [mor] ℹ 浏览器中打开链接: http://192.168.0.32:8080 或通过手机扫描下方二维码预览 👇
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[mor] ✔ 编译完成, 耗时: 1409.475179 ms
[mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index' [mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/createClass' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index' [mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/possibleConstructorReturn' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index' [mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/isNativeReflectConstruct' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index' [mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/getPrototypeOf' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index' [mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/inherits' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index' [mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs' [mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/createClass' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs' [mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/possibleConstructorReturn' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs' [mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/isNativeReflectConstruct' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs' [mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/getPrototypeOf' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs' [mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败: => Module not found: Error: Can't resolve '@babel/runtime/helpers/inherits' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs'
To Reproduce Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered:
windows 系统还是 Mac?
Sorry, something went wrong.
提供下更多系统信息,我们看下
Mac,通过 yarn 可以启动,pnpm 就会出现上诉错误。
node: v20.11.1 pnpm: 9.0.6
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
$ pnpm run dev
[mor] ℹ 发现配置文件: mor.config.ts
[mor] ✔ 配置文件加载成功: mor.config.ts
[mor] ℹ 准备配置中, 即将开始编译 👇
配置名称: wechat-miniprogram
编译目标: 微信小程序
编译环境: development
编译类型: 小程序
编译模式: bundle
源码类型: wechat
源码目录: src
输出目录: dist/wechat
[mor] ℹ 已开启缓存, 可通过 --no-cache 关闭
[mor] ℹ 启动文件监听模式
[mor] ℹ 开始编译 ...
[mor] ℹ 依赖分析中 ...
[mor] ℹ 依赖分析完成: 耗时: 87.816729 ms
[mor] ✔ 编译完成, 耗时: 624.34235 ms
[mor] ℹ 准备配置中, 即将开始编译 👇
配置名称: alipay-miniprogram
编译目标: 支付宝小程序
编译环境: development
编译类型: 小程序
编译模式: bundle
源码类型: wechat
源码目录: src
输出目录: dist/alipay
[mor] ℹ 已开启缓存, 可通过 --no-cache 关闭
[mor] ℹ 启动文件监听模式
[mor] ℹ 开始编译 ...
[mor] ℹ 依赖分析中 ...
[mor] ℹ 依赖分析完成: 耗时: 100.650343 ms
[mor] ✔ 编译完成, 耗时: 289.723189 ms
[mor] ℹ 准备配置中, 即将开始编译 👇
配置名称: web
编译目标: Web 应用
编译环境: development
编译类型: 小程序
编译模式: bundle
源码类型: wechat
源码目录: src
输出目录: dist/web
[mor] ℹ 已开启缓存, 可通过 --no-cache 关闭
[mor] ℹ 启动文件监听模式
[mor] ℹ 开始编译 ...
[mor] ℹ 依赖分析中 ...
[mor] ℹ 依赖分析完成: 耗时: 95.986822 ms
[mor] ⠴ 正在编译, 进度: 92.44%
[mor] ℹ 浏览器中打开链接: http://192.168.0.32:8080
或通过手机扫描下方二维码预览 👇
[mor] ✔ 编译完成, 耗时: 1409.475179 ms
[mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index'
[mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/createClass' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index'
[mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/possibleConstructorReturn' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index'
[mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/isNativeReflectConstruct' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index'
[mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/getPrototypeOf' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index'
[mor] ✖ 编译 ./mor-entries/pages/index/index.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/inherits' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/index'
[mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs'
[mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/createClass' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs'
[mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/possibleConstructorReturn' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs'
[mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/isNativeReflectConstruct' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs'
[mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/getPrototypeOf' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs'
[mor] ✖ 编译 ./mor-entries/pages/logs/logs.jsx 失败:
=> Module not found: Error: Can't resolve '@babel/runtime/helpers/inherits' in '/Users/xxx/mini-program/mor-app/mor-app/src/mor-entries/pages/logs'
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: