: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
✔ 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.
configuration.module.rules[1].resolve has an unknown property 'fullySpecified'. These properties are valid:
object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
-> Options for the resolver
at webpack (/github/workspace/auction-service/node_modules/webpack/lib/webpack.js:31:9)
at /github/workspace/auction-service/node_modules/serverless-webpack/lib/compile.js:110:39
at tryCatcher (/github/workspace/auction-service/node_modules/bluebird/js/release/util.js:16:23)
at Function.Promise.fromNode.Promise.fromCallback (/github/workspace/auction-service/node_modules/bluebird/js/release/promise.js:209:30)
at webpackCompile (/github/workspace/auction-service/node_modules/serverless-webpack/lib/compile.js:110:20)
at BbPromise.map.concurrency.concurrency (/github/workspace/auction-service/node_modules/serverless-webpack/lib/compile.js:137:14)
at tryCatcher (/github/workspace/auction-service/node_modules/bluebird/js/release/util.js:16:23)
at MappingPromiseArray._promiseFulfilled (/github/workspace/auction-service/node_modules/bluebird/js/release/map.js:68:38)
at MappingPromiseArray.PromiseArray._iterate (/github/workspace/auction-service/node_modules/bluebird/js/release/promise_array.js:115:31)
at MappingPromiseArray.init (/github/workspace/auction-service/node_modules/bluebird/js/release/promise_array.js:79:10)
at MappingPromiseArray._asyncInit (/github/workspace/auction-service/node_modules/bluebird/js/release/map.js:37:10)
at _drainQueueStep (/github/workspace/auction-service/node_modules/bluebird/js/release/async.js:97:12)
at _drainQueue (/github/workspace/auction-service/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/github/workspace/auction-service/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues [as _onImmediate] (/github/workspace/auction-service/node_modules/bluebird/js/release/async.js:15:14)
at processImmediate (node:internal/timers:466:21)
1 deprecation found: run 'serverless doctor' for more details
✔ 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.