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
I'm getting the following output when trying to package or deploy my project. sls offline works fine, which uses the same config.
Since there's no error, I have no idea how to further debug this.
sls package --config serverless.yml --stage dev --verbose
Running "serverless" from node_modules
Warning: Configured "frameworkVersion" does not represent a valid semver version range, version validation is skipped
serverless-offline-ssm checking serverless version 3.19.0.
Warning: Invalid configuration encountered
at 'custom.warmup.enabled': must be object
at 'custom.warmup.events': must be object
at 'custom.warmup.prewarm': must be object
at 'custom.warmup.concurrency': must be object
Learn more about configuration validation here: http://slss.io/configuration-validation
Packaging fragile for stage dev (us-east-1)
Packaging
WarmUp: Skipping warmer "enabled" creation. No functions to warm up.
WarmUp: Skipping warmer "events" creation. No functions to warm up.
WarmUp: Skipping warmer "prewarm" creation. No functions to warm up.
WarmUp: Skipping warmer "concurrency" creation. No functions to warm up.
WarmUp: Skipping warmer "enabled" creation. No functions to warm up.
WarmUp: Skipping warmer "events" creation. No functions to warm up.
WarmUp: Skipping warmer "prewarm" creation. No functions to warm up.
WarmUp: Skipping warmer "concurrency" creation. No functions to warm up.
Using configuration:
{
"packager": "npm",
"concurrency": 3,
"packagerOptions": {},
"webpackConfig": "node_modules/serverless-bundle/src/webpack.config.js",
"includeModules": {
"forceExclude": [
"aws-sdk"
],
"forceInclude": null,
"packagePath": "package.json"
},
"excludeRegex": {},
"keepOutputDirectory": false
}
serverless-bundle: CommonJS, ES3, or ES5 are not supported
Removing /Users/ruben/Projects/<project>/api/.webpack
Individually packaging with concurrency at 3 entries a time.
Bundling with Webpack...
Environment: darwin, node 16.13.1, framework 3.19.0 (local) 3.18.2v (global), plugin 6.2.2, SDK 4.3.2
Credentials: Serverless Dashboard, "<provider>" provider (https://app.serverless.com/<username>/apps/<app>/<app>/dev/us-east-1/providers)
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error:
Webpack compilation errors, see stats above
3 deprecations found: run 'serverless doctor' for more details
There don't seem to be any build errors when running typescript individually.
Is there any way to get a more verbose error?
This did not happen when using serverless-webpack
The text was updated successfully, but these errors were encountered:
I know this is an older issue, but if others come by it. I recently found out it may be based on errors caused by differing Typescript versions between what you use in your project and the built-in version supplied by serverless-bundle. See the Typescript 5.0 Support issue for more detail.
Hi,
I'm getting the following output when trying to package or deploy my project.
sls offline
works fine, which uses the same config.Since there's no error, I have no idea how to further debug this.
There don't seem to be any build errors when running typescript individually.
Is there any way to get a more verbose error?
This did not happen when using
serverless-webpack
The text was updated successfully, but these errors were encountered: