(I am using machine translation.sorry)
I'm building a local environment for appsync using a serverless framework
- Serverless-dynamodb-local
- Serverless-appsync-simulator
- Serverless-offline
I got an error when I installed these and used the "sls offline start" command
AppSync Simulator: TypeError: Cannot convert undefined or null to object
By the way, I'm using typescript instead of yml to create a project
//appsync
"appsync-simulator": {
location: ".esbuild/.build",
watch: false,
},
//dynamoDB
dynamodb: {
stages: "dev",
start : {
port: 8000,
inMemory: true,
// migrate: true,
// seed: true,
}
},
//esbuild
esbuild: {
bundle: true,
minify: false,
sourcemap: true,
exclude: ["aws-sdk"],
target: "node14",
define: { "require.resolve": undefined },
platform: "node",
concurrency: 10,
},
schema.graphql is at the root And this project works fine in the AWS Management Console
Team development requires offline Please help me