serverless / github-action

:zap::octocat: A Github Action for deploying with the Serverless Framework
Apache License 2.0
662 stars 174 forks source link

WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema. #71

Open taimurworks98 opened 2 years ago

taimurworks98 commented 2 years ago

✔ Plugin "serverless-bundle" installed (105s) Running "serverless" from node_modules Deploying auction-service to stage dev (eu-west-1) Using configuration: { "packager": "npm", "concurrency": 2, "packagerOptions": {}, "webpackConfig": "node_modules/serverless-bundle/src/webpack.config.js", "includeModules": { "forceExclude": [ "aws-sdk" ], "forceInclude": null, "packagePath": "package.json" }, "excludeRegex": {}, "keepOutputDirectory": false } Removing /github/workspace/auction-service/.webpack Bundling with Webpack... × Stack auction-service-dev failed to deploy (0s) Environment: linux, node 16.15.1, framework 3.19.0 (local) 3.19.0v (global), plugin 6.2.2, SDK 4.3.2 Credentials: Local, environment variables Docs: docs.serverless.com Support: forum.serverless.com Bugs: github.com/serverless/serverless/issues Error: WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.