Bug #38590
mimic: dashboard: failed to compile the dashboard: Cannot find name 'Exclude'
% Done:
90%
Source:
Tags:
QA
Backport:
Regression:
No
Severity:
3 - minor
Description
[0mDate: [1m[37m2019-03-05T05:49:15.789Z[39m[22m[0m [0mHash: [1m[37m894ed43e42aed84f2e6a[39m[22m[0m [0mTime: [1m[37m21545[39m[22mms[0m [0mchunk {[1m[33mscripts[39m[22m} [1m[32mscripts.fc88ef4a23399c760d0b.bundle.js[39m[22m (scripts) 210 kB [1m[33m[initial][39m[22m[1m[32m [rendered][39m[22m[0m [0mchunk {[1m[33m0[39m[22m} [1m[32mstyles.89887a238a2462b3f866.bundle.css[39m[22m (styles) 211 kB [1m[33m[initial][39m[22m[1m[32m [rendered][39m[22m[0m [0mchunk {[1m[33m1[39m[22m} [1m[32mpolyfills.997d8cc03812de50ae67.bundle.js[39m[22m (polyfills) 84 bytes [1m[33m[initial][39m[22m[1m[32m [rendered][39m[22m[0m [0mchunk {[1m[33m2[39m[22m} [1m[32mmain.ee32620ecd1edff94184.bundle.js[39m[22m (main) 84 bytes [1m[33m[initial][39m[22m[1m[32m [rendered][39m[22m[0m [0mchunk {[1m[33m3[39m[22m} [1m[32minline.318b50c57b4eba3d437b.bundle.js[39m[22m (inline) 796 bytes [1m[33m[entry][39m[22m[1m[32m [rendered][39m[22m[0m [0m[0m [0m[1m[33mWARNING in Invalid animation value at 11938:14. Ignoring.[39m[22m[0m [0m[0m [0m[1m[33mWARNING in Invalid animation value at 11937:22. Ignoring.[39m[22m[0m [0m[0m [0m[1m[31mERROR in node_modules/@types/lodash/common/object.d.ts(1689,12): error TS2304: Cannot find name 'Exclude'.[39m[22m[0m [0m[1m[31mnode_modules/@types/lodash/common/object.d.ts(1766,12): error TS2304: Cannot find name 'Exclude'.[39m[22m[0m [0m[1m[31mnode_modules/@types/lodash/common/object.d.ts(1842,34): error TS2304: Cannot find name 'Exclude'.[39m[22m[0m [0m[1m[31m[39m[22m[0m 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....
Related issues
History
#1 Updated by Brad Hubbard almost 2 years ago
- Duplicated by Bug #38596: mimic: ceph-dashboard build failing with "TS2304: Cannot find name 'Exclude'" added
#2 Updated by Sebastian Wagner almost 2 years 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 almost 2 years ago
- Related to Bug #38602: Failing mgr-dashboard-frontend-unittests (time out error) added
#4 Updated by Sebastian Wagner almost 2 years ago
- Priority changed from Urgent to Immediate
#5 Updated by Yuri Weinstein almost 2 years ago
- Priority changed from Immediate to Urgent
This is a blocker for mimic v13.2.5 now
#6 Updated by Laura Paduano almost 2 years 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 almost 2 years ago
- Assignee set to Tiago Melo
#8 Updated by Laura Paduano almost 2 years ago
- Pull request ID set to 26814
#9 Updated by Laura Paduano almost 2 years ago
- Status changed from New to Fix Under Review
#10 Updated by Laura Paduano almost 2 years ago
- % Done changed from 0 to 90
#11 Updated by Nathan Cutler almost 2 years ago
- Status changed from Fix Under Review to Resolved