Project

General

Profile

Actions

Bug #23895

closed

cmake failed in compiling dashboard

Added by huang jun about 6 years ago. Updated about 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
% Done:

0%

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

Description

dashboard frontend is being created

> ceph-dashboard@0.0.0 build /usr/src/ceph/src/pybind/mgr/dashboard/frontend
> ng build "--prod" 

You seem to not be depending on "@angular/core". This is an error.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! ceph-dashboard@0.0.0 build: `ng build "--prod"`
npm ERR! Exit status 2
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!     /root/.npm/_logs/2018-04-27T01_02_15_946Z-debug.log
make[2]: *** [../src/pybind/mgr/dashboard/frontend/dist] Error 2
make[1]: *** [src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-frontend-build.dir/all] Error 2
make: *** [all] Error 2
Actions

Also available in: Atom PDF