Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/454.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/42.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 节点js应用无法上载到azure服务_Javascript_Node.js_Azure_Azure Web App Service - Fatal编程技术网

Javascript 节点js应用无法上载到azure服务

Javascript 节点js应用无法上载到azure服务,javascript,node.js,azure,azure-web-app-service,Javascript,Node.js,Azure,Azure Web App Service,我正在尝试将我的节点应用程序上载到azure应用程序服务, 该应用程序是一个express应用程序,在端口8080上运行,并侦听post请求 使用vscode部署时,它会不断失败,并出现以下日志: 4:41:38: Using existing resource group "appsvc_linux_centralus". 14:41:39: Ensuring App Service plan "appsvc_linux_centralus" e

我正在尝试将我的节点应用程序上载到azure应用程序服务, 该应用程序是一个express应用程序,在端口8080上运行,并侦听post请求 使用vscode部署时,它会不断失败,并出现以下日志:

    4:41:38: Using existing resource group "appsvc_linux_centralus".
14:41:39: Ensuring App Service plan "appsvc_linux_centralus" exists...
14:41:39: Creating App Service plan "appsvc_linux_centralus"...
14:42:10: Successfully created App Service plan "appsvc_linux_centralus".
14:42:10: Verifying that Application Insights is available for this location...
14:42:12: Creating Application Insights resource "orizvibot"...
14:42:20: Successfully created Application Insights resource "orizvibot".
14:42:20: Creating new web app "orizvibot"...
14:42:43: Created new web app "orizvibot": https://orizvibot.azurewebsites.net
14:42:47 orizvibot: Starting deployment...
14:42:49 orizvibot: Creating zip package...
14:43:26 orizvibot: Fetching changes.
14:43:27 orizvibot: Cleaning up temp folders from previous zip deployments and extracting pushed zip file /tmp/zipdeploy/cd7130ae-4472-4659-9719-6ca6b3f41a4e.zip (0.02 MB) to /tmp/zipdeploy/extracted
14:43:33 orizvibot: Updating submodules.
14:43:34 orizvibot: Preparing deployment for commit id '47824e40-c'.
14:43:34 orizvibot: Repository path is /tmp/zipdeploy/extracted
14:43:34 orizvibot: Running oryx build...
14:43:34 orizvibot: Command: oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 14 -i /tmp/8d907df5b84c97b -p compress_node_modules=tar-gz --log-file /tmp/build-debug.log 
14:43:39 orizvibot: Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
14:43:39 orizvibot: You can report issues at https://github.com/Microsoft/Oryx/issues
14:43:39 orizvibot: Oryx Version: 0.2.20210225.2, Commit: f7b557f29a83aa078cc94c0056e7337c07f14271, ReleaseTagName: 20210225.2
14:43:39 orizvibot: Build Operation ID: |/lykwYbLGE4=.808061dd_
14:43:39 orizvibot: Repository Commit : 47824e40-c8bb-4824-8fbb-f1aeeab1af0b
14:43:39 orizvibot: Detecting platforms...
14:43:42 orizvibot: Detected following platforms:
14:43:42 orizvibot:   nodejs: 14.15.1
14:43:42 orizvibot: Version '14.15.1' of platform 'nodejs' is not installed. Generating script to install it...
14:43:42 orizvibot: Error: Oops... An unexpected error has occurred.
14:43:44 orizvibot: /opt/Kudu/Scripts/starter.sh oryx build /tmp/zipdeploy/extracted -o /home/site/wwwroot --platform nodejs --platform-version 14 -i /tmp/8d907df5b84c97b -p compress_node_modules=tar-gz --log-file /tmp/build-debug.log 
14:44:03 orizvibot: Deployment failed.
有什么帮助吗?
我可以找出问题所在。

您的服务器中没有安装Nodejs,请检查脚本并重新部署。

您是否检查了此文件(/tmp/build debug.log)以了解失败的原因?在系统中找到日志文件(/tmp/build debug.log)。输出是帮助您找出错误所在所需的。由于某些原因,我没有日志文件。。甚至tmp文件夹也没有。如果它是隐藏的,请使用一些东西查看它