I found error when i try to install Open edX

ERROR! Syntax Error while loading YAML.
mapping values are not allowed in this context

The error appears to be in ‘/var/tmp/configuration/playbooks/roles/insights/tasks/main.yml’: line 56, column 11, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  • name: upgrade npm
    command: “npm install -g npm@{{ INSIGHTS_NPM_VERSION }}”
    ^ here
    We could be wrong, but this one looks like it might be an issue with
    missing quotes. Always quote template expression brackets when they
    start a value. For instance:

    with_items:
    - {{ foo }}

Should be written as:

with_items:
  - "{{ foo }}"

============================================================
Ansible failed!

Decoded error:
No message to decode.

============================================================
Installation failed!

If you need help, see Connect - Open edX .
When asking for help, please provide as much information as you can.
These might be helpful:
Your log file is at /home/edx/logs/install-20230712-114947.log
Your environment:
OPENEDX_RELEASE=open-release/nutmeg.1

Installation finished at 2023-07-12 11:50:08
please help me

Hi @hassiba, welcome to the forum!!
Which process are you following? Unless there is a special need to do something different, you should use Tutor to install Open edX.

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