You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What stacktrace or error message from your provider did you see?
Webpack Options Validation Error -----------------------
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.module has an unknown property 'loaders'. These properties are valid:
object { exprContextCritical?, exprContextRecursive?, exprContextRegExp?, exprContextRequest?, noParse?, rules?, defaultRules?, unknownContextCritical?, unknownContextRecursive?, unknownContextRegExp?, unknownContextRequest?, unsafeCache?, wrappedContextCritical?, wrappedContextRecursive?, wrappedContextRegExp?, strictExportPresence?, strictThisContextOnImports? }
-> Options affecting the normal modules (`NormalModuleFactory`).
Additional Data
Serverless Framework Version you're using: 1.26.1
Operating System: macOS 10.13.3
Stack Trace:
Provider Error messages:
The text was updated successfully, but these errors were encountered:
It seems that the webpack config contains a module.loaders property which has been deprecated by webpack and is replaced by a module.rules property now. It can be that the plugin install command now installed webpack 4 where this is removed now.
The reason is an unlimited peer dependency version specifier in serverless-webpack that will be fixed with the next release.
This is a (Bug Report / Feature Proposal)
Description
For bug reports:
Deploy won't work, webpack config is invalid.
I expected deploy to work.
Fresh creation of a project:
Additional Data
The text was updated successfully, but these errors were encountered: