Hi
When build git master, VERSION 15.1.0, develop following errors:
Collecting nodeenv
Downloading nodeenv-1.3.5-py2.py3-none-any.whl (21 kB)
Installing collected packages: nodeenv
Successfully installed nodeenv-1.3.5
* Install prebuilt node (10.18.1) .
Traceback (most recent call last):
File "src/pybind/mgr/dashboard/node-env/bin/nodeenv", line 8, in
<module>
sys.exit(main())
File
"src/pybind/mgr/dashboard/node-env/lib/python3.7/site-packages/nodeenv.py",
line 1113, in main
create_environment(env_dir, opt)
File
"src/pybind/mgr/dashboard/node-env/lib/python3.7/site-packages/nodeenv.py",
line 936, in create_environment
install_node(env_dir, src_dir, opt)
File
"src/pybind/mgr/dashboard/node-env/lib/python3.7/site-packages/nodeenv.py",
line 700, in install_node
install_node_wrapped(env_dir, src_dir, opt)
File
"src/pybind/mgr/dashboard/node-env/lib/python3.7/site-packages/nodeenv.py",
line 723, in install_node_wrapped
download_node_src(node_url, src_dir, opt, prefix)
File
"src/pybind/mgr/dashboard/node-env/lib/python3.7/site-packages/nodeenv.py",
line 552, in download_node_src
dl_contents = io.BytesIO(urlopen(node_url).read())
File
"src/pybind/mgr/dashboard/node-env/lib/python3.7/site-packages/nodeenv.py",
line 580, in urlopen
return urllib2.urlopen(req)
File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/local/lib/python3.7/urllib/request.py", line 641, in
http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 503, in
_call_chain
result = func(*args)
File "/usr/local/lib/python3.7/urllib/request.py", line 649, in
http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
gmake[2]: ***
[src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/build.make:63:
src/pybind/mgr/dashboard/node-env/bin/npm] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:5982:
src/pybind/mgr/dashboard/CMakeFiles/mgr-dashboard-nodeenv.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
I had to use -DWITH_MGR_DASHBOARD_FRONTEND=OFF to continue to build without
Mgr Dashboard Frontend.
Once fix, I can compile and test again.
Regards
Sagara