请选择 进入手机版 | 继续访问电脑版
 找回密码
 立即注册
搜索

开发工具 通过微信转快应用 错误提示

2
回复
1952
查看
[复制链接]

2

主题

2

帖子

20

积分

 楼主| 2019-8-6 19:36:34 显示全部楼层 |阅读模式
  1. [HAP-DEBUG] [ERRO] 构建错误 Module build failed (from ./node_modules/babel-loader/lib/index.js):
  2. ReferenceError: [BABEL] d:\...\src\page\component\pages\web-view\index.ux: Unknown option: base.cwd. Check out http://babeljs.io/docs/usage/options/ for more information about options.
  3. A common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:
  4. Invalid:
  5. `{ presets: [{option: value}] }`
  6. Valid:
  7. `{ presets: [['presetName', {option: value}]] }`
  8. For more detailed information on preset configuration, please see https://babeljs.io/docs/en/plugins#pluginpresets-options.
复制代码
回复

使用道具 举报

11

主题

87

帖子

795

积分

2019-8-9 10:38:29 显示全部楼层
这是转换后的编译报错吧?转换报错信息有吗?
回复

使用道具 举报

0

主题

1

帖子

5

积分

2019-11-7 15:04:54 显示全部楼层
同上错误
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册