I have run through the steps in sending emails tutorial and the application works correctly on my local windows desktop. I then tried to deploy the application on Nettify using the guide here but I am getting a 404 error after the application was deployed. I do not see anything in the deployment logs. Would the community have an input on what I can do to debug the underlying issue?
I then tried to deploy the application using the serverless framework and I see the following errors: Is application deployment not supported on windows machines?
[STARTED] Checking if Serverless framework is installed...
Framework Core: 3.24.0 (local)
Plugin: 6.2.2
SDK: 4.3.2
[SUCCESS] Checking if Serverless framework is installed...
[STARTED] Building api & web...
[STARTED] Generating Prisma Client...
[SUCCESS] Generating Prisma Client...
[STARTED] Verifying graphql schema...
[SUCCESS] Verifying graphql schema...
[STARTED] Building API...
[SUCCESS] Building API...
[STARTED] Cleaning Web...
[SUCCESS] Cleaning Web...
[STARTED] Building Web...
Creating 200.html...
[SUCCESS] Building Web...
Starting prerendering...
You have not marked any routes to "prerender" in your Routes (file://C:\t\email\web\src\Routes.tsx).
Skipping prerender...
You have not marked any routes with a path as `prerender` in `Routes.{js,tsx}`
[SUCCESS] Building api & web...
[STARTED] Packing Functions...
[SUCCESS] Packing Functions...
[STARTED] Deploying api....
Deploying email-api to stage production (us-east-1)
× Stack email-api-production failed to deploy (0s)
Environment: win32, node 18.12.0, framework 3.24.0 (local), plugin 6.2.2, SDK 4.3.2
Credentials: Local, environment variables
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues
Error:
Error: Error: Error: ENOENT: no such file or directory, open 'C:\t\email\api\dist\zipball\graphql.zip' encountered during hash calculation for provided filePath: dist/zipball/graphql.zip
at ReadStream.<anonymous> (C:\t\email\node_modules\serverless\lib\plugins\aws\package\lib\get-hash-for-file-path.js:23:13)
at ReadStream.emit (node:events:513:28)
at ReadStream.emit (node:domain:489:12)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
2 deprecations found: run 'serverless doctor' for more details
[FAILED] Command failed with exit code 1: yarn serverless deploy --stage production
Command failed with exit code 1: yarn serverless deploy --stage production