NPM install error

Hello everyone, I’m trying to install devstack openedx.
after cloning devstack checkout to branch “open-release/nutmeg.master” I followed the steps to install :

  • “make requirements” command
  • “make dev.clone” command
  • “make dev.pull” command
  • ( now the last one and it took 10 min or something around that ) the command “make dev.provision”
---> 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 342, 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 191, in install_node_prereqs
    prereq_cache("Node prereqs", ["package.json"], node_prereqs_installation)
  File "/edx/app/edxapp/edx-platform/pavelib/prereqs.py", line 114, in prereq_cache
    install_func()
  File "/edx/app/edxapp/edx-platform/pavelib/prereqs.py", line 157, 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[1]: *** [Makefile:217: impl-dev.provision] Error 1
make[1]: Leaving directory '/home/edxapp/devstack'
Would you like to assist devstack development by sending anonymous usage metrics to edX? Run `make metrics-opt-in` to learn more!
make: *** [Makefile:221: dev.provision] Error 2

Can you please help me to solve this issue?
Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.