ElemeFE / ElemeFE/element

[Bug Report] Dev build from source fails

Open
#18,304 14 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
Linux (Kubuntu 19)

### Vue version
2.6.10

### Reproduction Link
https://github.com/ElemeFE/element.git#dev

### Steps to reproduce
Simply clone the dev branch

And run `npm install && npm run dist`

### What is Expected?
The build process to run successfully

### What is actually happening?
The build process fails at 89% with a ton of errors like the following

```
ERROR in ./packages/tooltip/src/main.js 81:8
Module parse failed: Unexpected token (81:8)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (this.popperVM) {
| this.popperVM.node = (
>
@ ./packages/tooltip/index.js 1:0-33 4:0-7 5:16-23 5:30-37 8:15-22
@ ./src/index.js
@ multi ./src/index.js
```
It seems like the jsx loader is not correctly configured

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.