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

Not working #8

Open
sneh-shah opened this issue Jul 6, 2020 · 1 comment
Open

Not working #8

sneh-shah opened this issue Jul 6, 2020 · 1 comment

Comments

@sneh-shah
Copy link

Tried this in a new environment, but it doesnt work for some reasons.
The stack got deployed but looks like the Lambda function is not structured properly.
Attaching the zip file which gets used for the Lambda function.

I am not a developer in any way but when I pasted the code in online javascript validators, they threw a whole bunch of syntax errors
edge-rewrite-prod-redirects.zip

@sneh-shah
Copy link
Author

Did some troubleshooting, it looks like the issue is caused by "serverless-plugin-optimize".
tried older versions of that plugin, it showed different output but still a non functional Lambda function

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

1 participant