I am using master branch.
I followed all the steps of devstack to install I had no problems running the commands until the command
make dev.provision. It show me this error message. Does someone knows what I am doing wrong?
I gave permissions to the parent folder as it says. And I am running a virtualenv with python 3.7
- docker-compose exec -T lms bash -c ‘source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 paver install_prereqs’
—> 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: *** [dev.provision] Error 1
This is the error in the npm-install.log
npm verb stack FetchError: request to https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
npm verb stack at ClientRequest. (/usr/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
npm verb stack at ClientRequest.emit (events.js:314:20)
npm verb stack at TLSSocket.socketErrorListener (_http_client.js:427:9)
npm verb stack at TLSSocket.emit (events.js:314:20)
npm verb stack at emitErrorNT (internal/streams/destroy.js:92:8)
npm verb stack at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
npm verb stack at processTicksAndRejections (internal/process/task_queues.js:84:21)
npm verb cwd /edx/app/edxapp/edx-platform
npm verb Linux 4.14.231-173.360.amzn2.x86_64
npm verb argv “/usr/bin/node” “/usr/bin/npm” “install” “–verbose”
npm verb node v12.22.1
npm verb npm v6.14.12
npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
npm verb exit [ 1, true ]
npm timing npm Completed in 1044207ms