-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix non functional template for Prisma (#3686)
Fixed: - update Prisma files location (remove the obsolete one - .prisma) - rmSync and cpSync instead of removeSync and copySync - add 'recursive' option while copying prisma files to avoid the error 'Path is a directory: cp returned EISDIR' - remove the local only deployment to make it work with 'sst dev' mode - load database URL from .env instead of hard coded one - added the "linux-arm64" architecture if you are using AWS Graviton 2 (source: https://www.prisma.io/docs/orm/prisma-client/deployment/serverless/deploy-to-aws-lambda) Some of the updates above are based on this repo: https://github.com/geauser/sst-prisma-example Tested OK with Node 20 LTS.
- Loading branch information
Showing
1 changed file
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters