Serverless: Operation failed!
Serverless: View the full error output: https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A420353426084%3Astack%2Ffbhunter-applications-web-survey-dev%2F35d163b0-eebf-11e9-9861-0a325fb8c980
Serverless Error ---------------------------------------
An error occurred: ApiGatewayResourceProxyVar - A sibling ({uid}) of this resource already has a variable path part -- only one is allowed (Service: AmazonApiGateway; Status Code: 400; Error Code: BadRequestException; Request ID: 011205b8-7ed0-445a-8743-4d0b55d79264).
To Reproduce
Create a react-next-app with dynamic Router in dir
Create an example contains two dynamic pages:
pages/post/[id]/index.js
e.g. matches /post/my-example (/post/:id)
pages/post/[id]/[comment].js
e.g. matches /post/my-example/a-comment (/post/:id/:comment)
Follow this serverless
service: app-web-survey
stage: dev
region: sa-east-1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
To Reproduce
Create a react-next-app with dynamic Router in dir Create an example contains two dynamic pages:
pages/post/[id]/index.js
e.g. matches/post/my-example
(/post/:id
)pages/post/[id]/[comment].js
e.g. matches/post/my-example/a-comment
(/post/:id/:comment
)serverless
provider: name: aws runtime: nodejs10.x memorySize: 128
plugins:
package: exclude:
Expected behavior A happy deployed nuxt.js app with dynamic routing
Desktop (please complete the following information):