louisguitton opened a new issue #244: ./site.sh preview-landing-pages silently 
fails because of missing dependency
URL: https://github.com/apache/airflow-site/issues/244
 
 
   Currently, if you run `./site.sh preview-landing-pages` the website doesn't 
start.
   The script stops at the following line with no output
   ```
   + docker exec --tty --interactive --workdir /opt/site/docs-archive/ 
airflow-site-c ./show_docs_index_json.sh
   ```
   Running that command outside the script shows:
   ```sh
   $ ./show_docs_index_json.sh: line 25: jq: command not found
   ./show_docs_index_json.sh: line 25: jq: command not found
   ```
   
   The workaround I found to still be able to preview the website when I make a 
change is to run 
   ```sh 
   docker exec --tty --interactive --workdir /opt/site/landing-pages/ 
airflow-site-c npm run preview
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to