發表文章

目前顯示的是 3月, 2022的文章

Azure deploy center build typescript project 發生’tsc’ is not recognized as an internal or external command

  Azure deploy center build typescript project 發生’tsc’ is not recognized as an internal or external command 最近將 Azure bot( typescript 版本) 透過 deploy center 提供的 deploy-continuous 服務去作部署 Azure bot :  官方教學 先來看 Azure 官網的部署說明 執行階段 根目錄檔案 ASP.NET  (僅限 Windows) .sln 、 *.csproj* 或  default.aspx ASP.NET  Core * .sln  或 * .csproj PHP index.php Ruby (僅限 Linux) Gemfile Node.js 含啟動指令碼的  server.js 、 app.js , 或  package.json Python * . .py 、  requirements.txt 或  runtime.txt HTML default.htm 、 default.html 、 default.asp 、 index.htm 、 index.html  或  iisstart.htm WebJobsWebJobs *job_name > /run. <持續 Webjob App_Data/jobs/continuous 下的擴充 >*功能,或針對觸發的 webjob < 。 > 如需詳細資訊,請參閱  Kudu WebJobs 文件 。 函式 請參閱  Azure Functions 的持續部署 。 有Node.js 實際部署後 部署請參考 : [官方文件]( ‘tsc’ is not recognized as an internal or external command ) 之後把 souce code commit & push 到 git 上 會在Azure console 發生 'tsc' is not recognized as an internal or external command 解決辦法 編輯 專案中的  package.json  將 devDependencies 的 設定 都複