Project

General

Profile

Bug #38590

mimic: dashboard: failed to compile the dashboard: Cannot find name 'Exclude'

Added by Sebastian Wagner 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
dashboard/general
Target version:
-
Start date:
03/05/2019
Due date:
% Done:

90%

Source:
Tags:
QA
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Date: 2019-03-05T05:49:15.789Z
Hash: 894ed43e42aed84f2e6a
Time: 21545ms
chunk {scripts} scripts.fc88ef4a23399c760d0b.bundle.js (scripts) 210 kB [initial] [rendered]
chunk {0} styles.89887a238a2462b3f866.bundle.css (styles) 211 kB [initial] [rendered]
chunk {1} polyfills.997d8cc03812de50ae67.bundle.js (polyfills) 84 bytes [initial] [rendered]
chunk {2} main.ee32620ecd1edff94184.bundle.js (main) 84 bytes [initial] [rendered]
chunk {3} inline.318b50c57b4eba3d437b.bundle.js (inline) 796 bytes [entry] [rendered]

WARNING in Invalid animation value at 11938:14. Ignoring.

WARNING in Invalid animation value at 11937:22. Ignoring.

ERROR in node_modules/@types/lodash/common/object.d.ts(1689,12): error TS2304: Cannot find name 'Exclude'.
node_modules/@types/lodash/common/object.d.ts(1766,12): error TS2304: Cannot find name 'Exclude'.
node_modules/@types/lodash/common/object.d.ts(1842,34): error TS2304: Cannot find name 'Exclude'.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ceph-dashboard@0.0.0 build: `ng build "--prod"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ceph-dashboard@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jenkins-build/.npm/_logs/2019-03-05T05_49_15_864Z-debug.log
src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-frontend-build.dir/build.make:1435: recipe for target '../src/pybind/mgr/dashboard/frontend/dist' failed
make[3]: *** [../src/pybind/mgr/dashboard/frontend/dist] Error 1
CMakeFiles/Makefile2:4878: recipe for target 'src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-frontend-build.dir/all' failed
make[2]: *** [src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-frontend-build.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....

https://jenkins.ceph.com/job/ceph-pull-requests/15029/consoleFull#-2110717508ed6e825c-5772-40cc-ba3e-4f4430b3e036


Related issues

Related to mgr - Bug #38602: Failing mgr-dashboard-frontend-unittests (time out error) Resolved 03/06/2019
Duplicated by mgr - Bug #38596: mimic: ceph-dashboard build failing with "TS2304: Cannot find name 'Exclude'" Duplicate 03/05/2019

History

#1 Updated by Brad Hubbard 8 months ago

  • Duplicated by Bug #38596: mimic: ceph-dashboard build failing with "TS2304: Cannot find name 'Exclude'" added

#2 Updated by Sebastian Wagner 8 months ago

  • Subject changed from dashboard: failed to compile the dashboard: Cannot find name 'Exclude' to mimic: dashboard: failed to compile the dashboard: Cannot find name 'Exclude'

#3 Updated by Nathan Cutler 8 months ago

  • Related to Bug #38602: Failing mgr-dashboard-frontend-unittests (time out error) added

#4 Updated by Sebastian Wagner 8 months ago

  • Priority changed from Urgent to Immediate

#5 Updated by Yuri Weinstein 8 months ago

  • Priority changed from Immediate to Urgent

This is a blocker for mimic v13.2.5 now

#6 Updated by Laura Paduano 8 months ago

We could try setting different lodash and/or @types/lodash versions (at least that's what worked for some folks who posted on stackoverflow).
Also someone mentioned "Update: What I found was, that exclude comes in with typescript 2.8. I changed the line in package json for typescript to "typescript": "^2.2.0" and updated."

#7 Updated by Ricardo Marques 8 months ago

  • Assignee set to Tiago Melo

#8 Updated by Laura Paduano 8 months ago

  • Pull request ID set to 26814

#9 Updated by Laura Paduano 8 months ago

  • Status changed from New to Need Review

#10 Updated by Laura Paduano 8 months ago

  • % Done changed from 0 to 90

#11 Updated by Nathan Cutler 8 months ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF