-
Notifications
You must be signed in to change notification settings - Fork 188
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
Unable to deploy on windows - Schema Creation Status is FAILED #404
Comments
It would appear that because the older project was built when the max version was 1.6.0 that is why copying node_modules works. If I lock the project at 1.6.0 it appears to work. I have not compared any newer version currently. However it would appear that something added after 1.6.0 is what is breaking windows. |
@menser-fivetalent Can you pinpoint the exact version that breaks it? Does it break already at 1.7.0? |
It would appear the issue was introduced in version 1.9.0. |
@menser-fivetalent I was expecting that. I am pretty sure this PR introduced the problem. I believe that the globby might be creating some issues. They recently fixed an issue but I checked and it is included in this plugin. Could you try debugging around these lines and maybe try to figure out what is going on? Unfortunatlly I do not have a windows machine. |
Have been unable to deploy on windows (currently using gitbash or powershell)
The exact same code is deploying fine using osx.
I have verified that this same behavior is reproducible with the example in this repo and a completely new serverless project adding the bare minimum for serverless-appsync-plugin.
When comparing the working cloudformation stack template from OSX to the failed template from windows they are identical.
I have tried yarn and npm to install packages. We have been using serverless-appsync-plugin for a while successfully but failing on a new project. I took the node_modules directory off another windows machine on an older project and replaced the one in the new project and it appears to deploy. However, there are so many differences between the two folders that it's taking a long time to track down which is causing the issue.
Attached is a simple project that fails:
serverless-appsync-windows-fail.zip
The text was updated successfully, but these errors were encountered: