Replies: 2 comments 2 replies
-
component: nextjs |
Beta Was this translation helpful? Give feedback.
0 replies
-
@SenLief 你好, 你这里的问题应该是你配置中的
你需要指定具体的运行时,如
以下是我本地测试的配置文件 component: http
name: nextDemo
inputs:
src:
dist: ./
hook: npm run build
exclude:
- .env
faas:
runtime: Nodejs16.13
framework: nextjs
name: ${name}
apigw:
protocols:
- http
- https
app: test-nextjs-runtime 和 部署完的应用信息 使用授权信息 default 授权中,如果需要使用临时密钥,请使用 --login 重新登陆
serverless ⚡tencent
Action: "deploy" - Stage: "dev" - App: "test-nextjs-runtime" - Name: "nextDemo"
faas:
type: web
name: nextDemo
runtime: Nodejs16.13
namespace: default
apigw:
created: true
id: service-3o4vy7t4
subDomain: service-3o4vy7t4-1302533238.gz.apigw.tencentcs.com
environment: release
url: https://service-3o4vy7t4-1302533238.gz.apigw.tencentcs.com/release/
apiList:
-
path: /
method: ANY
apiName: http_api
created: true
authType: NONE
businessType: NORMAL
isBase64Encoded: false
apiId: api-hw8bkfes
region: ap-guangzhou
应用控制台: https://serverless.cloud.tencent.com/apps/test-nextjs-runtime/nextDemo/dev |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
部署了之后就是10.15,版本太低了,很多做不了的,如何能强制版本呢?
Beta Was this translation helpful? Give feedback.
All reactions