Project

General

Profile

Actions

Bug #43961

closed

mgr/dashboard: New version of angular doesn't work with Node.js v10.16.0

Added by Tiago Melo about 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Build, CI, Dependencies & Tools
Target version:
% Done:

0%

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

Description

After the update of Angular CLI to the latest version, the following error started showing when running make-dist:

> node-gyp rebuild                                                                                                        

gyp info it worked if it ends with ok                                                                                     
gyp info using node-gyp@3.8.0                                                                                             
gyp info using node@10.16.0 | linux | x64                                                                                 
gyp ERR! configure error                                                                                                  
gyp ERR! stack Error: Command failed: /tmp/tmp.7Jn1xmgfjl/bin/python -c import sys; print "%s.%s.%s" %                    
+sys.version_info[:3];                                                                                                    
gyp ERR! stack   File "<string>", line 1                                                                                  
gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];                                                   
gyp ERR! stack                                ^                                                                           
gyp ERR! stack SyntaxError: invalid syntax                                                                                
gyp ERR! stack                                                                                                            
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:294:12)                                                  
gyp ERR! stack     at ChildProcess.emit (events.js:198:13)                                                                
gyp ERR! stack     at maybeClose (internal/child_process.js:982:16)                                                       
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)                               
gyp ERR! System Linux 4.12.14-lp151.28.36-default                                                                         
gyp ERR! command "/tmp/tmp.7Jn1xmgfjl/bin/node"                                                                           
+"/tmp/tmp.7Jn1xmgfjl/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"                               
gyp ERR! cwd /tmp/tmp.RrhaSEeqh3/src/pybind/mgr/dashboard/frontend/node_modules/webpack-dev-server/node_modules/fsevents  
gyp ERR! node -v v10.16.0                                                                                                 
gyp ERR! node-gyp -v v3.8.0                                                                                               
gyp ERR! not ok

Updating Node.js to v10.18.1 will fix the error.


Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #44034: nautilus: mgr/dashboard: New version of angular doesn't work with Node.js v10.16.0RejectedActions
Actions #1

Updated by Tiago Melo about 4 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Nathan Cutler about 4 years ago

  • Backport set to nautilus

Adding nautilus backport because we (openSUSE) are building nautilus RPMs in a py3-only environment.

Actions #3

Updated by Kiefer Chang about 4 years ago

  • Subject changed from mgr/dashboard: New version of angular doesn't with Node.js v10.16.0 to mgr/dashboard: New version of angular doesn't work with Node.js v10.16.0
Actions #4

Updated by Lenz Grimmer about 4 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Target version set to v15.0.0
Actions #5

Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #44034: nautilus: mgr/dashboard: New version of angular doesn't work with Node.js v10.16.0 added
Actions #6

Updated by Laura Paduano about 4 years ago

  • Pull request ID set to 33059
Actions #7

Updated by Tiago Melo about 4 years ago

  • Status changed from Pending Backport to Resolved
Actions #8

Updated by David Galloway about 3 years ago

  • Copied to Bug #50044: mgr/dashboard: nodeenv can hang added
Actions #9

Updated by David Galloway about 3 years ago

  • Copied to deleted (Bug #50044: mgr/dashboard: nodeenv can hang)
Actions #10

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 160 to Build, CI, Dependencies & Tools
Actions

Also available in: Atom PDF