ember-cli / ember-cli/ember-cli-update

Error serving Ember app after updating via ember-cli-update

Đang mở
#1,150 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
279
Fork
44
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,
I am updating an ember app from v3.17.3 to v3.24 (the LTS version). Mac OS 10.13.6. I ran

`ember-cli-update --to ~3.24`

So far so good. After resolving a few merge conflicts and running `npm install`, I have

`ember --version` --> ember-cli: 3.24.0

But when I try `ember s` locally I get

> ...
> Build Error (broccoli-persistent-filter:EslintValidationFilter) in integration/components/analytics-charts-test.js
>
> ESLint configuration in /Users/user1/Documents/embApp/warlord/.eslintrc.js is invalid:
> - Unexpected top-level property "overrides[0].extends".
>
>
>
> Stack Trace and Error Report: /var/folders/n5/3gg0dqt57j317n_z9lkv7xfw0000gn/T/error.dump.6c67c97dfe3fcbd6a826413d05601c39.log

The log file is attached. .eslintrc.js is attached.
[log.txt](https://github.com/ember-cli/ember-cli-update/files/6865583/log.txt)
[eslintrc_copy.txt](https://github.com/ember-cli/ember-cli-update/files/6865571/eslintrc_copy.txt)

The analytics-charts-test.js file has nothing but the auto-generated test code. I did not write a test for that component.

Reverting .eslintrc.js to it's pre-update content (or just commenting out the `extends: ['plugin:node/recommended'],` does allow it it proceed past the initial point of failure, but then it gives

> /@ember/test-waiters/types/index.ts: Property specifiers expected type of array but got null

Also, running code-mods makes no difference. Same error when trying to serve. Note that code-mods fails at ember-test-helpers-codemod, although that doesn't stop the rest of the mods from running.

Appears that there is some issue in the download for 3.24, perhaps around ember test helpers? Anyone else seeing this? If someone can help, it would be much appreciated.

Thanks

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện với `ember s` sau `ember-cli-update --to ~3.24` và kiểm tra log đính kèm cùng `.eslintrc.js`, tập trung vào lỗi xác thực `overrides[0].extends` được báo cáo. So sánh đường dẫn `integration/components/analytics-charts-test.js` được tạo ra với lỗi sau đó trong `@ember/test-waiters/types/index.ts`; công việc được xem là hoàn tất khi xác định được liệu bản cập nhật có đưa vào cấu hình hoặc các dependency không tương thích hay không và ghi lại một bản sửa lỗi có thể tái hiện.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
eslint, javascript
Lĩnh vực
build-system, tooling
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.