Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment failed on Windows when using warmup plugin #341

Closed
yuyitan opened this issue Jul 10, 2023 · 2 comments
Closed

Deployment failed on Windows when using warmup plugin #341

yuyitan opened this issue Jul 10, 2023 · 2 comments

Comments

@yuyitan
Copy link

yuyitan commented Jul 10, 2023

After adding serverless-plugin-warmup to the plugins section and adding the warmup config to my .yml file, I was unable to deploy using serverless. While the error is regarding usage of 'include/exclude' for patterns, it seems unrelated as this error occurs even when I remove the include/exclude.

This error does not occur on Mac but only on Windows machine. This error also goes away once I remove serverless-plugin-warmup from my .yml file and uninstall the plugin.

The version of serverless-plugin-warmup is stated "^8.2.1" in my package.json.

WarmUp: Creating warmer "default" to warm up 8 functions

× Stack <STACK_NAME> failed to deploy (24s)
Environment: win32, node 16.13.0, framework 3.27.0 (local) 3.30.1v (global), plugin 6.2.3, SDK 4.3.2
Credentials: Local, "default" profile
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
No file matches include / exclude patterns
@juanjoDiaz
Copy link
Owner

Hi,

@yuyitan, This kind of issue is typically caused by using another plugin like webpack, rollup, etc.
Can you share your serverless.yaml?

@juanjoDiaz
Copy link
Owner

Closing since there was no response.
Feel free to reopen if you have any more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants