简体   繁体   English

Azure App 服务和 Angular SSR 应用程序

[英]Azure App service and Angular SSR application

I have an angular app with Server side rendering.我有一个带有服务器端渲染的角度应用程序。 And also, this server.ts has some simple APIs in it.而且,这个server.ts有一些简单的 API。 I am trying to deploy it in Azure app service(with AD integration) but with no success.我正在尝试将它部署在 Azure 应用服务(使用 AD 集成)中,但没有成功。 What could it be still missing?它还能缺少什么?

package.json包.json

"scripts": {
"ng": "ng",
"start": "node dist/angular-app/server/main.js",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"dev:ssr": "ng run angular-app:serve-ssr",
"serve:ssr": "node dist/angular-app/server/main.js",
"build:ssr": "ng build --prod && ng run angular-app:server:production",
"prerender": "ng run angular-app:prerender"
},

Error message when I access the Azure app service url:访问 Azure 应用服务 URL 时的错误消息:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 保持节点应用程序在Azure应用程序服务上运行 - Keep a node application running on azure app service 构建 angular 8 ssr 应用程序时出错 - Error while building angular 8 ssr application azure 应用服务上 NodeJS 应用的持久应用日志 - Persistent application logs for NodeJS app on azure app service 更改 Angular HTTP 调用以使用 azure 应用服务 - MEAN Stack - Changing Angular HTTP calls to work with azure app service - MEAN Stack 将 node.js 服务器和 angular 应用程序部署到 azure Z2567A5EC9705EB7AC2C984033E068 服务 - Deploy node.js server and angular app to azure web service bcrypt在azure应用程序服务上不是有效的win 32应用程序 - bcrypt not a valid win 32 application on azure app service 无法在 Azure App 服务上部署 React JS 应用程序 - Unable to deploy React JS application on Azure App service 我可以在Azure App Service上运行Node / ExpressJS应用程序,还是必须使用Azure Cloud Service? - Can I run a Node/ExpressJS application on Azure App Service or do I have to use Azure Cloud Service? Angular 服务与 Azure 宇宙 - Angular Service with Azure Cosmos 天蓝色应用服务上的角度应用 - 从资源文件夹加载配置文件时出现404错误 - Angular app on azure app service - 404 errors when loading config file from assets folder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM