Hello,
I’m using serverless framework for the first time;
I have a nice bootstrap function using graphql but on deploy some packages are missing [ like graphql or graphql-yoga for example ]
There are all on dependencies and not dev and I’m a little confuse about that
I’m using serverless-webpack with the custom configuration but I have an error: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
Package.json:
“dependencies”: {
“graphql”: “^0.13.2”,
“graphql-config”: “^2.0.1”,
“graphql-import”: “^0.6.0”,
“graphql-playground-middleware-lambda”: “^1.7.1”,
“graphql-tag”: “^2.9.2”,
“graphql-tools”: “^3.0.4”,
“graphql-yoga”: “^1.14.10”,
“prisma-binding”: “^2.1.0”
}
Logs:
{
“errorMessage”: “Cannot find module ‘prisma-binding’”,
“errorType”: “Error”,
“stackTrace”: [
…
]
}
Thank youuu