我创建了一个简单和基本的nuxt应用程序,然后从终端,我把它推到github回购。然后,我把我的回购和数字海洋应用程序的功能联系起来,所以它部署了它。构建是成功的,但是启动没有启动,我得到以下错误
Deploy Error: Health Checks
Common Causes
App is running slower than expected
Component Issues
apptest - failed to deploy请注意,我没有配置环境变量,而是将其留给默认设置。这样做重要吗?

编辑:这是nuxt配置
export default {
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
title: 'apptest',
htmlAttrs: {
lang: 'en'
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
{ name: 'format-detection', content: 'telephone=no' }
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: [
],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
],
// Auto import components: https://go.nuxtjs.dev/config-components
components: true,
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
],
// Modules: https://go.nuxtjs.dev/config-modules
modules: [
// https://go.nuxtjs.dev/bootstrap
'bootstrap-vue/nuxt',
],
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
}
}数字海洋日志卡在这里
[appnuxt] [2021-09-11 10:47:59] yarn run v1.22.11
[appnuxt] [2021-09-11 10:47:59] $ nuxt start
[appnuxt] [2021-09-11 10:48:01] ℹ Listening on: http://localhost:8080/发布于 2021-09-17 07:49:45
本文帮助我完成了Nuxt.js应用程序的先前设置:在Nuxt.js应用平台上部署DigitalOcean
如前所述,它需要设置run命令,指定应用程序的主机/端口(默认情况下它在http://localhost:3000上启动):
npm start -- --hostname 0.0.0.0 --port 8080https://stackoverflow.com/questions/69141697
复制相似问题