Npm install error detected ,after "make dev.provision"

Hello everyone, I’m trying to install openedx, also I’m using (ubuntu 22.04)
after cloning devstask checkout to branch “open-release/lilac.master” I followed the steps to install :

  • Create a new virtualenv using python3
  • Activate virtualenv
  • the command “make requirements”
  • the command “make dev.clone.https”
  • checkout from all branches with “make dev.checkout”
  • then “make dev.pull.large-and-slow”
  • ( now the last one and it took 1 hour or something around that ) the command “make dev.provision”
    it creates everything but the issue every time with the npm install error detected as follow :

---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
npm install error detected. Retrying...


Captured Task Output:
---------------------

---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
Traceback (most recent call last):
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 201, in _run_task
    return do_task()
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 198, in do_task
    return func(**kw)
  File "/edx/app/edxapp/edx-platform/pavelib/utils/timer.py", line 40, in timed
    return wrapped(*args, **kwargs)
  File "/edx/app/edxapp/edx-platform/pavelib/prereqs.py", line 332, in install_prereqs
    install_node_prereqs()
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 333, in __call__
    retval = environment._run_task(self.name, self.needs, self.func)
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 219, in _run_task
    return do_task()
  File "/edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/paver/tasks.py", line 198, in do_task
    return func(**kw)
  File "/edx/app/edxapp/edx-platform/pavelib/utils/timer.py", line 40, in timed
    return wrapped(*args, **kwargs)
  File "/edx/app/edxapp/edx-platform/pavelib/prereqs.py", line 184, in install_node_prereqs
    prereq_cache("Node prereqs", ["package.json"], node_prereqs_installation)
  File "/edx/app/edxapp/edx-platform/pavelib/prereqs.py", line 111, in prereq_cache
    install_func()
  File "/edx/app/edxapp/edx-platform/pavelib/prereqs.py", line 154, in node_prereqs_installation
    raise Exception(f"npm install failed: See {npm_log_file_path}")
Exception: npm install failed: See /edx/app/edxapp/edx-platform/test_root/log/npm-install.log

make: *** [Makefile:224: dev.provision] Error 1

I tried to run the command “nslookup registry.npmjs.org” in different ways and my pc was able to reach it before the provision step
++ the path of the log file is wrong and different not like what I got in the files.

please advise on this and thanks for stopping by

Did you fixed this issue?, could you share the log at /edx/app/edxapp/edx-platform/test_root/log/npm-install.log?