Why is dev_appserver.py reporting “no such file or directory” after today's gcloud components update

前端 未结 5 1751
挽巷
挽巷 2020-12-03 21:47

I\'ve been successfully running the local development server daily and have made no changes except that I called \"gcloud components update\" just before it stopped working.

5条回答
  •  天涯浪人
    2020-12-03 22:16

    You may create make file and have something like this:

    export SDK=dev_appserver.py
    export APP_PATH=${CURDIR}
    
    run:
        $(SDK) $(APP_PATH)/path-to/app.yaml
    

    And just use it with: make run so you don't have to worry about paths.

提交回复
热议问题