Airflow Web服务器主页持续加载并显示html页面中的错误

Airflow Web服务器主页持续加载并显示html页面中的错误,airflow,airflow-scheduler,airflow-operator,Airflow,Airflow Scheduler,Airflow Operator,我已使用安装气流-2.0.0.dev0 并解决了所有依赖性问题 现在,以下三件事运行良好,没有抛出错误 ``` 您可能缺少NPM依赖项,请从根目录运行以下命令: /afflow/www/compile_assets.sh 或 airflow db init airflow scheduler airflow webserver -p 8080 But on airflow webserver homepage, it's showing loading continuously(in *R

我已使用安装气流-2.0.0.dev0

并解决了所有依赖性问题

现在,以下三件事运行良好,没有抛出错误 ```


您可能缺少NPM依赖项,请从根目录运行以下命令:

/afflow/www/compile_assets.sh

airflow db init
airflow scheduler
airflow webserver -p 8080

But on airflow webserver homepage, it's showing loading continuously(in *Recent Tasks*, *Last Run* and *DAG Runs* columns)

On browser console, it is showing these errors

>home:46 GET http://localhost:8080/static/ net::ERR_ABORTED 404 (NOT FOUND)
>home:2782 GET http://localhost:8080/static/ net::ERR_ABORTED 404 (NOT FOUND)
>home:2767 GET http://localhost:8080/static/appbuilder/fonts/glyphicons-halflings-regular.woff2 net::ERR_ABORTED 404 (NOT FOUND)
>home:2782 GET http://localhost:8080/static/ net::ERR_ABORTED 404 (NOT FOUND)
>home:2793 GET http://localhost:8080/static/ net::ERR_ABORTED 404 (NOT FOUND)
>home:2794 .........
>home:2795 .........
>home:2796 .........
>home:2797 GET http://localhost:8080/static/ net::ERR_ABORTED 404 (NOT FOUND)
>home:2854 Uncaught TypeError: $input.typeahead is not a function
    at home:2854



if [[ -d airflow/www/static/dist ]]; then
  rm -f airflow/www/static/dist/*
fi

cd airflow/www/
npm install
npm run build
cd ../..