Azure / static-web-apps

Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
https://aka.ms/swa
MIT License
330 stars 57 forks source link

Prisma client not being generated #997

Open Sealjay opened 1 year ago

Sealjay commented 1 year ago

Describe the bug

A number of code samples use Prisma:

I'm finding the Prisma client isn't being generated during the api build stage, and I've tried various workarounds. Changing node to v14 & v16; custom postinstall scripts in the package.son & a custom postbuild command: https://github.com/microsoft/Oryx/issues/1696

Any pointers are appreciated :)

Logs


Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (4.6.1 | library) to ./node_modules/@prisma/client in 151ms
You can now start using Prisma Client in your code. Reference: https://pris.ly/d/client

import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient()


Copy '/github/workspace/api/node_modules' with all dependencies to '/github/workspace/api/.oryx_all_node_modules'...

Copying production dependencies from '/github/workspace/api/.oryx_prod_node_modules/node_modules' to '/github/workspace/api/node_modules'...
Preparing output...

Copying files to destination directory '/bin/staticsites/ss-oryx/api'...
Done in 0 sec(s).

Removing existing manifest file
Creating a manifest file...
Manifest file created.
Copying .ostype to manifest output directory.

Done in 28 sec(s).
image
audriusl commented 1 year ago

Hi,

Try to put this in github actions.

PRE_BUILD_COMMAND: 'npx prisma generate' POST_BUILD_COMMAND: 'npx prisma generate'

Sealjay commented 1 year ago

I tried that previously, but will retry and post logs. Can't remember the error I got before.

georgibakken commented 1 year ago

I have a similar issue, and by adding the PRE an POST build commands, it seems to work as intended.

However, I run into the classic

The content server has rejected the request with: BadRequest
Reason: The size of the function content was too large. The limit for this Static Web App is 104857600 bytes.
Sealjay commented 1 year ago

Same, still having the same issue.

2023-02-21T19:15:03.5625412Z Requested labels: ubuntu-latest
2023-02-21T19:15:03.5625452Z Job defined at: Sealjay/futures-council/.github/workflows/azure-static-web-apps-gentle-sea-0c1df771e.yml@refs/heads/main
2023-02-21T19:15:03.5625506Z Waiting for a runner to pick up this job...
2023-02-21T19:15:03.7232060Z Job is waiting for a hosted runner to come online.
2023-02-21T19:15:07.2944494Z Job is about to start running on the hosted runner: Hosted Agent (hosted)
2023-02-21T19:15:09.6243798Z Current runner version: '2.301.1'
2023-02-21T19:15:09.6269854Z ##[group]Operating System
2023-02-21T19:15:09.6270478Z Ubuntu
2023-02-21T19:15:09.6270779Z 22.04.1
2023-02-21T19:15:09.6271075Z LTS
2023-02-21T19:15:09.6271326Z ##[endgroup]
2023-02-21T19:15:09.6271679Z ##[group]Runner Image
2023-02-21T19:15:09.6272037Z Image: ubuntu-22.04
2023-02-21T19:15:09.6272389Z Version: 20230217.1
2023-02-21T19:15:09.6272863Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230217.1/images/linux/Ubuntu2204-Readme.md
2023-02-21T19:15:09.6273521Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230217.1
2023-02-21T19:15:09.6274001Z ##[endgroup]
2023-02-21T19:15:09.6274360Z ##[group]Runner Image Provisioner
2023-02-21T19:15:09.6274663Z 2.0.117.1
2023-02-21T19:15:09.6274963Z ##[endgroup]
2023-02-21T19:15:09.6275971Z ##[group]GITHUB_TOKEN Permissions
2023-02-21T19:15:09.6276635Z Actions: write
2023-02-21T19:15:09.6276954Z Checks: write
2023-02-21T19:15:09.6277358Z Contents: write
2023-02-21T19:15:09.6277823Z Deployments: write
2023-02-21T19:15:09.6278113Z Discussions: write
2023-02-21T19:15:09.6278428Z Issues: write
2023-02-21T19:15:09.6278719Z Metadata: read
2023-02-21T19:15:09.6279071Z Packages: write
2023-02-21T19:15:09.6279399Z Pages: write
2023-02-21T19:15:09.6279681Z PullRequests: write
2023-02-21T19:15:09.6280038Z RepositoryProjects: write
2023-02-21T19:15:09.6280434Z SecurityEvents: write
2023-02-21T19:15:09.6280780Z Statuses: write
2023-02-21T19:15:09.6281050Z ##[endgroup]
2023-02-21T19:15:09.6284552Z Secret source: Actions
2023-02-21T19:15:09.6285038Z Prepare workflow directory
2023-02-21T19:15:09.7103021Z Prepare all required actions
2023-02-21T19:15:09.7285415Z Getting action download info
2023-02-21T19:15:10.0507865Z Download action repository 'actions/checkout@v3' (SHA:ac593985615ec2ede58e132d2e21d2b1cbd6127c)
2023-02-21T19:15:10.9271916Z Download action repository 'Azure/static-web-apps-deploy@v1' (SHA:5c50db0011c6423f073843e7e22c3d0cb6c53920)
2023-02-21T19:15:11.6404265Z Complete job name: Build and Deploy Job
2023-02-21T19:15:11.7171153Z ##[group]Build container for action use: '/home/runner/work/_actions/Azure/static-web-apps-deploy/v1/Dockerfile'.
2023-02-21T19:15:11.7244153Z ##[command]/usr/bin/docker build -t 49859c:10f6c940d71e41238285289506b1fc40 -f "/home/runner/work/_actions/Azure/static-web-apps-deploy/v1/Dockerfile" "/home/runner/work/_actions/Azure/static-web-apps-deploy/v1"
2023-02-21T19:15:11.8263078Z Sending build context to Docker daemon  22.02kB
2023-02-21T19:15:11.8264212Z 
2023-02-21T19:15:11.8631687Z Step 1/3 : FROM mcr.microsoft.com/appsvc/staticappsclient:stable
2023-02-21T19:15:12.0529130Z stable: Pulling from appsvc/staticappsclient
2023-02-21T19:15:12.0542120Z 6aefca2dc61d: Pulling fs layer
2023-02-21T19:15:12.0546188Z 967757d56527: Pulling fs layer
2023-02-21T19:15:12.0551942Z c357e2c68cb3: Pulling fs layer
2023-02-21T19:15:12.0556598Z c766e27afb21: Pulling fs layer
2023-02-21T19:15:12.0557902Z d913781da675: Pulling fs layer
2023-02-21T19:15:12.0558218Z 54fa687f58b4: Pulling fs layer
2023-02-21T19:15:12.0558704Z c939a09b5983: Pulling fs layer
2023-02-21T19:15:12.0564462Z e198984d5536: Pulling fs layer
2023-02-21T19:15:12.0565253Z 21e57609d6b3: Pulling fs layer
2023-02-21T19:15:12.0565760Z c1881f2146e9: Pulling fs layer
2023-02-21T19:15:12.0566014Z 4bd05412a8e0: Pulling fs layer
2023-02-21T19:15:12.0566297Z 8146c9dfd394: Pulling fs layer
2023-02-21T19:15:12.0566609Z f0ffa7b9e9dc: Pulling fs layer
2023-02-21T19:15:12.0566860Z 1bdd8cf46ef0: Pulling fs layer
2023-02-21T19:15:12.0567200Z 5ee2ffb527ea: Pulling fs layer
2023-02-21T19:15:12.0567492Z 8d112204afe5: Pulling fs layer
2023-02-21T19:15:12.0567811Z 8cfc8710ef27: Pulling fs layer
2023-02-21T19:15:12.0568048Z 6550e89384e0: Pulling fs layer
2023-02-21T19:15:12.0568348Z c766e27afb21: Waiting
2023-02-21T19:15:12.0568620Z d913781da675: Waiting
2023-02-21T19:15:12.0568911Z 54fa687f58b4: Waiting
2023-02-21T19:15:12.0569133Z c939a09b5983: Waiting
2023-02-21T19:15:12.0569666Z e198984d5536: Waiting
2023-02-21T19:15:12.0570215Z 21e57609d6b3: Waiting
2023-02-21T19:15:12.0571822Z c1881f2146e9: Waiting
2023-02-21T19:15:12.0572047Z 4bd05412a8e0: Waiting
2023-02-21T19:15:12.0572384Z 8146c9dfd394: Waiting
2023-02-21T19:15:12.0572701Z f0ffa7b9e9dc: Waiting
2023-02-21T19:15:12.0572991Z 1bdd8cf46ef0: Waiting
2023-02-21T19:15:12.0573217Z 5ee2ffb527ea: Waiting
2023-02-21T19:15:12.0573478Z 8d112204afe5: Waiting
2023-02-21T19:15:12.0573730Z 8cfc8710ef27: Waiting
2023-02-21T19:15:12.0573964Z 6550e89384e0: Waiting
2023-02-21T19:15:12.1999136Z 967757d56527: Verifying Checksum
2023-02-21T19:15:12.2002665Z 967757d56527: Download complete
2023-02-21T19:15:12.3463780Z c357e2c68cb3: Verifying Checksum
2023-02-21T19:15:12.3467185Z c357e2c68cb3: Download complete
2023-02-21T19:15:12.7109497Z 6aefca2dc61d: Verifying Checksum
2023-02-21T19:15:12.7110733Z 6aefca2dc61d: Download complete
2023-02-21T19:15:12.8799068Z c766e27afb21: Verifying Checksum
2023-02-21T19:15:12.8799536Z c766e27afb21: Download complete
2023-02-21T19:15:13.0881678Z 54fa687f58b4: Verifying Checksum
2023-02-21T19:15:13.0882285Z 54fa687f58b4: Download complete
2023-02-21T19:15:13.2556681Z e198984d5536: Verifying Checksum
2023-02-21T19:15:13.2663913Z e198984d5536: Download complete
2023-02-21T19:15:13.4149091Z 21e57609d6b3: Verifying Checksum
2023-02-21T19:15:13.4154393Z 21e57609d6b3: Download complete
2023-02-21T19:15:13.5211126Z c1881f2146e9: Verifying Checksum
2023-02-21T19:15:13.5213554Z c1881f2146e9: Download complete
2023-02-21T19:15:13.6884755Z 4bd05412a8e0: Verifying Checksum
2023-02-21T19:15:13.6899147Z 4bd05412a8e0: Download complete
2023-02-21T19:15:14.0391790Z c939a09b5983: Verifying Checksum
2023-02-21T19:15:14.0399155Z c939a09b5983: Download complete
2023-02-21T19:15:14.2358837Z f0ffa7b9e9dc: Verifying Checksum
2023-02-21T19:15:14.2361562Z f0ffa7b9e9dc: Download complete
2023-02-21T19:15:14.2673962Z d913781da675: Verifying Checksum
2023-02-21T19:15:14.2674786Z d913781da675: Download complete
2023-02-21T19:15:14.7573493Z 5ee2ffb527ea: Verifying Checksum
2023-02-21T19:15:14.7576687Z 5ee2ffb527ea: Download complete
2023-02-21T19:15:14.8506548Z 8d112204afe5: Verifying Checksum
2023-02-21T19:15:14.8509072Z 8d112204afe5: Download complete
2023-02-21T19:15:15.1402710Z 1bdd8cf46ef0: Verifying Checksum
2023-02-21T19:15:15.1406184Z 1bdd8cf46ef0: Download complete
2023-02-21T19:15:15.2452755Z 6550e89384e0: Verifying Checksum
2023-02-21T19:15:15.2454027Z 6550e89384e0: Download complete
2023-02-21T19:15:15.4096001Z 8cfc8710ef27: Verifying Checksum
2023-02-21T19:15:15.4099482Z 8cfc8710ef27: Download complete
2023-02-21T19:15:16.0935009Z 6aefca2dc61d: Pull complete
2023-02-21T19:15:17.2222549Z 8146c9dfd394: Verifying Checksum
2023-02-21T19:15:17.2223054Z 8146c9dfd394: Download complete
2023-02-21T19:15:19.1970602Z 967757d56527: Pull complete
2023-02-21T19:15:19.4989978Z c357e2c68cb3: Pull complete
2023-02-21T19:15:22.1388671Z c766e27afb21: Pull complete
2023-02-21T19:15:27.8942538Z d913781da675: Pull complete
2023-02-21T19:15:28.2843468Z 54fa687f58b4: Pull complete
2023-02-21T19:15:30.2904702Z c939a09b5983: Pull complete
2023-02-21T19:15:30.3449018Z e198984d5536: Pull complete
2023-02-21T19:15:30.4325295Z 21e57609d6b3: Pull complete
2023-02-21T19:15:30.5078665Z c1881f2146e9: Pull complete
2023-02-21T19:15:30.5974555Z 4bd05412a8e0: Pull complete
2023-02-21T19:15:41.7365538Z 8146c9dfd394: Pull complete
2023-02-21T19:15:42.1125407Z f0ffa7b9e9dc: Pull complete
2023-02-21T19:15:45.9897044Z 1bdd8cf46ef0: Pull complete
2023-02-21T19:15:46.8005042Z 5ee2ffb527ea: Pull complete
2023-02-21T19:15:46.8521904Z 8d112204afe5: Pull complete
2023-02-21T19:15:46.9051051Z 8cfc8710ef27: Pull complete
2023-02-21T19:15:46.9554233Z 6550e89384e0: Pull complete
2023-02-21T19:15:46.9588725Z Digest: sha256:6e8c2f7004cfd75ccbf2d1f5a402999432989eecd692d5536d47d46a07bb22ff
2023-02-21T19:15:46.9598760Z Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient:stable
2023-02-21T19:15:46.9613877Z  ---> bf8011285063
2023-02-21T19:15:46.9614182Z Step 2/3 : COPY entrypoint.sh /entrypoint.sh
2023-02-21T19:15:48.6044150Z  ---> 56b6914b0aa2
2023-02-21T19:15:48.6044567Z Step 3/3 : ENTRYPOINT ["sh", "/entrypoint.sh"]
2023-02-21T19:15:48.6221811Z  ---> Running in df8b5bf4289c
2023-02-21T19:15:50.2487600Z Removing intermediate container df8b5bf4289c
2023-02-21T19:15:50.2487969Z  ---> 51b92cf40af6
2023-02-21T19:15:50.2490850Z Successfully built 51b92cf40af6
2023-02-21T19:15:50.2583144Z Successfully tagged 49859c:10f6c940d71e41238285289506b1fc40
2023-02-21T19:15:50.2593873Z ##[endgroup]
2023-02-21T19:15:50.3179327Z ##[group]Run actions/checkout@v3
2023-02-21T19:15:50.3179569Z with:
2023-02-21T19:15:50.3179755Z   submodules: true
2023-02-21T19:15:50.3180140Z   repository: Sealjay/futures-council
2023-02-21T19:15:50.3180609Z   token: ***
2023-02-21T19:15:50.3180793Z   ssh-strict: true
2023-02-21T19:15:50.3181011Z   persist-credentials: true
2023-02-21T19:15:50.3181291Z   clean: true
2023-02-21T19:15:50.3181476Z   fetch-depth: 1
2023-02-21T19:15:50.3181653Z   lfs: false
2023-02-21T19:15:50.3181853Z   set-safe-directory: true
2023-02-21T19:15:50.3182072Z ##[endgroup]
2023-02-21T19:15:50.5595790Z Syncing repository: Sealjay/futures-council
2023-02-21T19:15:50.5597604Z ##[group]Getting Git version info
2023-02-21T19:15:50.5598088Z Working directory is '/home/runner/work/futures-council/futures-council'
2023-02-21T19:15:50.5598599Z [command]/usr/bin/git version
2023-02-21T19:15:50.5701209Z git version 2.39.2
2023-02-21T19:15:50.5716863Z ##[endgroup]
2023-02-21T19:15:50.5734602Z Temporarily overriding HOME='/home/runner/work/_temp/00652b6f-037c-4188-a9fa-4329d062129b' before making global git config changes
2023-02-21T19:15:50.5735064Z Adding repository directory to the temporary git global config as a safe directory
2023-02-21T19:15:50.5738467Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/futures-council/futures-council
2023-02-21T19:15:50.5785606Z Deleting the contents of '/home/runner/work/futures-council/futures-council'
2023-02-21T19:15:50.5790709Z ##[group]Initializing the repository
2023-02-21T19:15:50.5794644Z [command]/usr/bin/git init /home/runner/work/futures-council/futures-council
2023-02-21T19:15:50.5856865Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-02-21T19:15:50.5857359Z hint: is subject to change. To configure the initial branch name to use in all
2023-02-21T19:15:50.5857818Z hint: of your new repositories, which will suppress this warning, call:
2023-02-21T19:15:50.5858265Z hint: 
2023-02-21T19:15:50.5858682Z hint:  git config --global init.defaultBranch <name>
2023-02-21T19:15:50.5859004Z hint: 
2023-02-21T19:15:50.5859414Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2023-02-21T19:15:50.5860047Z hint: 'development'. The just-created branch can be renamed via this command:
2023-02-21T19:15:50.5860403Z hint: 
2023-02-21T19:15:50.5860752Z hint:  git branch -m <name>
2023-02-21T19:15:50.5882354Z Initialized empty Git repository in /home/runner/work/futures-council/futures-council/.git/
2023-02-21T19:15:50.5892489Z [command]/usr/bin/git remote add origin https://github.com/Sealjay/futures-council
2023-02-21T19:15:50.5934485Z ##[endgroup]
2023-02-21T19:15:50.5934990Z ##[group]Disabling automatic garbage collection
2023-02-21T19:15:50.5938975Z [command]/usr/bin/git config --local gc.auto 0
2023-02-21T19:15:50.5969415Z ##[endgroup]
2023-02-21T19:15:50.5969870Z ##[group]Setting up auth
2023-02-21T19:15:50.5976509Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-02-21T19:15:50.6012262Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-02-21T19:15:50.6332068Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-02-21T19:15:50.6364036Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-02-21T19:15:50.6578404Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-02-21T19:15:50.6614764Z ##[endgroup]
2023-02-21T19:15:50.6615458Z ##[group]Fetching the repository
2023-02-21T19:15:50.6624521Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +513299a974713152185a5b6a171f449321d1942b:refs/remotes/origin/main
2023-02-21T19:15:51.1334696Z remote: Enumerating objects: 94, done.        
2023-02-21T19:15:51.1335190Z remote: Counting objects:   1% (1/94)        
2023-02-21T19:15:51.1335586Z remote: Counting objects:   2% (2/94)        
2023-02-21T19:15:51.1335908Z remote: Counting objects:   3% (3/94)        
2023-02-21T19:15:51.1336237Z remote: Counting objects:   4% (4/94)        
2023-02-21T19:15:51.1336544Z remote: Counting objects:   5% (5/94)        
2023-02-21T19:15:51.1336871Z remote: Counting objects:   6% (6/94)        
2023-02-21T19:15:51.1337206Z remote: Counting objects:   7% (7/94)        
2023-02-21T19:15:51.1337519Z remote: Counting objects:   8% (8/94)        
2023-02-21T19:15:51.1337823Z remote: Counting objects:   9% (9/94)        
2023-02-21T19:15:51.1338129Z remote: Counting objects:  10% (10/94)        
2023-02-21T19:15:51.1338449Z remote: Counting objects:  11% (11/94)        
2023-02-21T19:15:51.1338764Z remote: Counting objects:  12% (12/94)        
2023-02-21T19:15:51.1339090Z remote: Counting objects:  13% (13/94)        
2023-02-21T19:15:51.1339412Z remote: Counting objects:  14% (14/94)        
2023-02-21T19:15:51.1339716Z remote: Counting objects:  15% (15/94)        
2023-02-21T19:15:51.1340248Z remote: Counting objects:  17% (16/94)        
2023-02-21T19:15:51.1340561Z remote: Counting objects:  18% (17/94)        
2023-02-21T19:15:51.1340866Z remote: Counting objects:  19% (18/94)        
2023-02-21T19:15:51.1341173Z remote: Counting objects:  20% (19/94)        
2023-02-21T19:15:51.1341484Z remote: Counting objects:  21% (20/94)        
2023-02-21T19:15:51.1341796Z remote: Counting objects:  22% (21/94)        
2023-02-21T19:15:51.1342136Z remote: Counting objects:  23% (22/94)        
2023-02-21T19:15:51.1342446Z remote: Counting objects:  24% (23/94)        
2023-02-21T19:15:51.1342745Z remote: Counting objects:  25% (24/94)        
2023-02-21T19:15:51.1343054Z remote: Counting objects:  26% (25/94)        
2023-02-21T19:15:51.1343362Z remote: Counting objects:  27% (26/94)        
2023-02-21T19:15:51.1343668Z remote: Counting objects:  28% (27/94)        
2023-02-21T19:15:51.1343976Z remote: Counting objects:  29% (28/94)        
2023-02-21T19:15:51.1344314Z remote: Counting objects:  30% (29/94)        
2023-02-21T19:15:51.1344622Z remote: Counting objects:  31% (30/94)        
2023-02-21T19:15:51.1344926Z remote: Counting objects:  32% (31/94)        
2023-02-21T19:15:51.1345229Z remote: Counting objects:  34% (32/94)        
2023-02-21T19:15:51.1345536Z remote: Counting objects:  35% (33/94)        
2023-02-21T19:15:51.1345841Z remote: Counting objects:  36% (34/94)        
2023-02-21T19:15:51.1346144Z remote: Counting objects:  37% (35/94)        
2023-02-21T19:15:51.1346446Z remote: Counting objects:  38% (36/94)        
2023-02-21T19:15:51.1346746Z remote: Counting objects:  39% (37/94)        
2023-02-21T19:15:51.1347051Z remote: Counting objects:  40% (38/94)        
2023-02-21T19:15:51.1347347Z remote: Counting objects:  41% (39/94)        
2023-02-21T19:15:51.1347653Z remote: Counting objects:  42% (40/94)        
2023-02-21T19:15:51.1347959Z remote: Counting objects:  43% (41/94)        
2023-02-21T19:15:51.1348265Z remote: Counting objects:  44% (42/94)        
2023-02-21T19:15:51.1348570Z remote: Counting objects:  45% (43/94)        
2023-02-21T19:15:51.1348867Z remote: Counting objects:  46% (44/94)        
2023-02-21T19:15:51.1349175Z remote: Counting objects:  47% (45/94)        
2023-02-21T19:15:51.1349479Z remote: Counting objects:  48% (46/94)        
2023-02-21T19:15:51.1349971Z remote: Counting objects:  50% (47/94)        
2023-02-21T19:15:51.1350265Z remote: Counting objects:  51% (48/94)        
2023-02-21T19:15:51.1350569Z remote: Counting objects:  52% (49/94)        
2023-02-21T19:15:51.1350877Z remote: Counting objects:  53% (50/94)        
2023-02-21T19:15:51.1351183Z remote: Counting objects:  54% (51/94)        
2023-02-21T19:15:51.1351491Z remote: Counting objects:  55% (52/94)        
2023-02-21T19:15:51.1351862Z remote: Counting objects:  56% (53/94)        
2023-02-21T19:15:51.1352173Z remote: Counting objects:  57% (54/94)        
2023-02-21T19:15:51.1352479Z remote: Counting objects:  58% (55/94)        
2023-02-21T19:15:51.1352783Z remote: Counting objects:  59% (56/94)        
2023-02-21T19:15:51.1353089Z remote: Counting objects:  60% (57/94)        
2023-02-21T19:15:51.1353381Z remote: Counting objects:  61% (58/94)        
2023-02-21T19:15:51.1353687Z remote: Counting objects:  62% (59/94)        
2023-02-21T19:15:51.1353992Z remote: Counting objects:  63% (60/94)        
2023-02-21T19:15:51.1354298Z remote: Counting objects:  64% (61/94)        
2023-02-21T19:15:51.1354623Z remote: Counting objects:  65% (62/94)        
2023-02-21T19:15:51.1354920Z remote: Counting objects:  67% (63/94)        
2023-02-21T19:15:51.1358699Z remote: Counting objects:  68% (64/94)        
2023-02-21T19:15:51.1359070Z remote: Counting objects:  69% (65/94)        
2023-02-21T19:15:51.1359381Z remote: Counting objects:  70% (66/94)        
2023-02-21T19:15:51.1359703Z remote: Counting objects:  71% (67/94)        
2023-02-21T19:15:51.1360014Z remote: Counting objects:  72% (68/94)        
2023-02-21T19:15:51.1360315Z remote: Counting objects:  73% (69/94)        
2023-02-21T19:15:51.1360622Z remote: Counting objects:  74% (70/94)        
2023-02-21T19:15:51.1360927Z remote: Counting objects:  75% (71/94)        
2023-02-21T19:15:51.1361232Z remote: Counting objects:  76% (72/94)        
2023-02-21T19:15:51.1361541Z remote: Counting objects:  77% (73/94)        
2023-02-21T19:15:51.1361843Z remote: Counting objects:  78% (74/94)        
2023-02-21T19:15:51.1362147Z remote: Counting objects:  79% (75/94)        
2023-02-21T19:15:51.1362453Z remote: Counting objects:  80% (76/94)        
2023-02-21T19:15:51.1362757Z remote: Counting objects:  81% (77/94)        
2023-02-21T19:15:51.1363063Z remote: Counting objects:  82% (78/94)        
2023-02-21T19:15:51.1363359Z remote: Counting objects:  84% (79/94)        
2023-02-21T19:15:51.1363664Z remote: Counting objects:  85% (80/94)        
2023-02-21T19:15:51.1363971Z remote: Counting objects:  86% (81/94)        
2023-02-21T19:15:51.1364273Z remote: Counting objects:  87% (82/94)        
2023-02-21T19:15:51.1364578Z remote: Counting objects:  88% (83/94)        
2023-02-21T19:15:51.1364872Z remote: Counting objects:  89% (84/94)        
2023-02-21T19:15:51.1365179Z remote: Counting objects:  90% (85/94)        
2023-02-21T19:15:51.1365799Z remote: Counting objects:  91% (86/94)        
2023-02-21T19:15:51.1366061Z remote: Counting objects:  92% (87/94)        
2023-02-21T19:15:51.1366364Z remote: Counting objects:  93% (88/94)        
2023-02-21T19:15:51.1366642Z remote: Counting objects:  94% (89/94)        
2023-02-21T19:15:51.1366936Z remote: Counting objects:  95% (90/94)        
2023-02-21T19:15:51.1367181Z remote: Counting objects:  96% (91/94)        
2023-02-21T19:15:51.1367480Z remote: Counting objects:  97% (92/94)        
2023-02-21T19:15:51.1367725Z remote: Counting objects:  98% (93/94)        
2023-02-21T19:15:51.1368017Z remote: Counting objects: 100% (94/94)        
2023-02-21T19:15:51.1368285Z remote: Counting objects: 100% (94/94), done.        
2023-02-21T19:15:51.1368567Z remote: Compressing objects:   1% (1/84)        
2023-02-21T19:15:51.1368905Z remote: Compressing objects:   2% (2/84)        
2023-02-21T19:15:51.1369190Z remote: Compressing objects:   3% (3/84)        
2023-02-21T19:15:51.1369499Z remote: Compressing objects:   4% (4/84)        
2023-02-21T19:15:51.1497831Z remote: Compressing objects:   5% (5/84)        
2023-02-21T19:15:51.1499091Z remote: Compressing objects:   7% (6/84)        
2023-02-21T19:15:51.1499718Z remote: Compressing objects:   8% (7/84)        
2023-02-21T19:15:51.1500105Z remote: Compressing objects:   9% (8/84)        
2023-02-21T19:15:51.1500351Z remote: Compressing objects:  10% (9/84)        
2023-02-21T19:15:51.1503246Z remote: Compressing objects:  11% (10/84)        
2023-02-21T19:15:51.1503629Z remote: Compressing objects:  13% (11/84)        
2023-02-21T19:15:51.1503990Z remote: Compressing objects:  14% (12/84)        
2023-02-21T19:15:51.1504252Z remote: Compressing objects:  15% (13/84)        
2023-02-21T19:15:51.1506040Z remote: Compressing objects:  16% (14/84)        
2023-02-21T19:15:51.1506391Z remote: Compressing objects:  17% (15/84)        
2023-02-21T19:15:51.1506646Z remote: Compressing objects:  19% (16/84)        
2023-02-21T19:15:51.1506908Z remote: Compressing objects:  20% (17/84)        
2023-02-21T19:15:51.1508760Z remote: Compressing objects:  21% (18/84)        
2023-02-21T19:15:51.1509102Z remote: Compressing objects:  22% (19/84)        
2023-02-21T19:15:51.1509338Z remote: Compressing objects:  23% (20/84)        
2023-02-21T19:15:51.1509582Z remote: Compressing objects:  25% (21/84)        
2023-02-21T19:15:51.1511468Z remote: Compressing objects:  26% (22/84)        
2023-02-21T19:15:51.1511803Z remote: Compressing objects:  27% (23/84)        
2023-02-21T19:15:51.1512046Z remote: Compressing objects:  28% (24/84)        
2023-02-21T19:15:51.1512302Z remote: Compressing objects:  29% (25/84)        
2023-02-21T19:15:51.1514155Z remote: Compressing objects:  30% (26/84)        
2023-02-21T19:15:51.1514487Z remote: Compressing objects:  32% (27/84)        
2023-02-21T19:15:51.1514899Z remote: Compressing objects:  33% (28/84)        
2023-02-21T19:15:51.1515416Z remote: Compressing objects:  34% (29/84)        
2023-02-21T19:15:51.1515667Z remote: Compressing objects:  35% (30/84)        
2023-02-21T19:15:51.1515908Z remote: Compressing objects:  36% (31/84)        
2023-02-21T19:15:51.1516153Z remote: Compressing objects:  38% (32/84)        
2023-02-21T19:15:51.1516400Z remote: Compressing objects:  39% (33/84)        
2023-02-21T19:15:51.1516642Z remote: Compressing objects:  40% (34/84)        
2023-02-21T19:15:51.1516892Z remote: Compressing objects:  41% (35/84)        
2023-02-21T19:15:51.1517133Z remote: Compressing objects:  42% (36/84)        
2023-02-21T19:15:51.1517372Z remote: Compressing objects:  44% (37/84)        
2023-02-21T19:15:51.1517621Z remote: Compressing objects:  45% (38/84)        
2023-02-21T19:15:51.1517862Z remote: Compressing objects:  46% (39/84)        
2023-02-21T19:15:51.1518103Z remote: Compressing objects:  47% (40/84)        
2023-02-21T19:15:51.1518337Z remote: Compressing objects:  48% (41/84)        
2023-02-21T19:15:51.1518574Z remote: Compressing objects:  50% (42/84)        
2023-02-21T19:15:51.1518817Z remote: Compressing objects:  51% (43/84)        
2023-02-21T19:15:51.1519053Z remote: Compressing objects:  52% (44/84)        
2023-02-21T19:15:51.1519291Z remote: Compressing objects:  53% (45/84)        
2023-02-21T19:15:51.1519531Z remote: Compressing objects:  54% (46/84)        
2023-02-21T19:15:51.1519770Z remote: Compressing objects:  55% (47/84)        
2023-02-21T19:15:51.1520007Z remote: Compressing objects:  57% (48/84)        
2023-02-21T19:15:51.1520236Z remote: Compressing objects:  58% (49/84)        
2023-02-21T19:15:51.1520473Z remote: Compressing objects:  59% (50/84)        
2023-02-21T19:15:51.1520716Z remote: Compressing objects:  60% (51/84)        
2023-02-21T19:15:51.1520959Z remote: Compressing objects:  61% (52/84)        
2023-02-21T19:15:51.1521189Z remote: Compressing objects:  63% (53/84)        
2023-02-21T19:15:51.1521427Z remote: Compressing objects:  64% (54/84)        
2023-02-21T19:15:51.1521664Z remote: Compressing objects:  65% (55/84)        
2023-02-21T19:15:51.1521903Z remote: Compressing objects:  66% (56/84)        
2023-02-21T19:15:51.1522130Z remote: Compressing objects:  67% (57/84)        
2023-02-21T19:15:51.1522460Z remote: Compressing objects:  69% (58/84)        
2023-02-21T19:15:51.1522702Z remote: Compressing objects:  70% (59/84)        
2023-02-21T19:15:51.1522938Z remote: Compressing objects:  71% (60/84)        
2023-02-21T19:15:51.1523173Z remote: Compressing objects:  72% (61/84)        
2023-02-21T19:15:51.1523412Z remote: Compressing objects:  73% (62/84)        
2023-02-21T19:15:51.1523662Z remote: Compressing objects:  75% (63/84)        
2023-02-21T19:15:51.1838130Z remote: Compressing objects:  76% (64/84)        
2023-02-21T19:15:51.1841386Z remote: Compressing objects:  77% (65/84)        
2023-02-21T19:15:51.1841692Z remote: Compressing objects:  78% (66/84)        
2023-02-21T19:15:51.1841950Z remote: Compressing objects:  79% (67/84)        
2023-02-21T19:15:51.1842202Z remote: Compressing objects:  80% (68/84)        
2023-02-21T19:15:51.1842449Z remote: Compressing objects:  82% (69/84)        
2023-02-21T19:15:51.1842694Z remote: Compressing objects:  83% (70/84)        
2023-02-21T19:15:51.1842954Z remote: Compressing objects:  84% (71/84)        
2023-02-21T19:15:51.1843201Z remote: Compressing objects:  85% (72/84)        
2023-02-21T19:15:51.1843443Z remote: Compressing objects:  86% (73/84)        
2023-02-21T19:15:51.1843685Z remote: Compressing objects:  88% (74/84)        
2023-02-21T19:15:51.1843926Z remote: Compressing objects:  89% (75/84)        
2023-02-21T19:15:51.1844166Z remote: Compressing objects:  90% (76/84)        
2023-02-21T19:15:51.1844404Z remote: Compressing objects:  91% (77/84)        
2023-02-21T19:15:51.1844643Z remote: Compressing objects:  92% (78/84)        
2023-02-21T19:15:51.1844885Z remote: Compressing objects:  94% (79/84)        
2023-02-21T19:15:51.1845123Z remote: Compressing objects:  95% (80/84)        
2023-02-21T19:15:51.1845353Z remote: Compressing objects:  96% (81/84)        
2023-02-21T19:15:51.1845599Z remote: Compressing objects:  97% (82/84)        
2023-02-21T19:15:51.1845837Z remote: Compressing objects:  98% (83/84)        
2023-02-21T19:15:51.1846082Z remote: Compressing objects: 100% (84/84)        
2023-02-21T19:15:51.1846341Z remote: Compressing objects: 100% (84/84), done.        
2023-02-21T19:15:51.4522597Z remote: Total 94 (delta 10), reused 50 (delta 2), pack-reused 0        
2023-02-21T19:15:51.4588473Z From https://github.com/Sealjay/futures-council
2023-02-21T19:15:51.4589277Z  * [new ref]         513299a974713152185a5b6a171f449321d1942b -> origin/main
2023-02-21T19:15:51.4614140Z ##[endgroup]
2023-02-21T19:15:51.4701760Z ##[group]Determining the checkout info
2023-02-21T19:15:51.4702151Z ##[endgroup]
2023-02-21T19:15:51.4702497Z ##[group]Checking out the ref
2023-02-21T19:15:51.4702970Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2023-02-21T19:15:51.4762288Z Switched to a new branch 'main'
2023-02-21T19:15:51.4765409Z branch 'main' set up to track 'origin/main'.
2023-02-21T19:15:51.4771692Z ##[endgroup]
2023-02-21T19:15:51.4772076Z ##[group]Setting up auth for fetching submodules
2023-02-21T19:15:51.4774648Z [command]/usr/bin/git config --global http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-02-21T19:15:51.4841255Z [command]/usr/bin/git config --global --unset-all url.https://github.com/.insteadOf
2023-02-21T19:15:51.4874112Z [command]/usr/bin/git config --global --add url.https://github.com/.insteadOf git@github.com:
2023-02-21T19:15:51.4906249Z [command]/usr/bin/git config --global --add url.https://github.com/.insteadOf org-19361656@github.com:
2023-02-21T19:15:51.4934813Z ##[endgroup]
2023-02-21T19:15:51.4935202Z ##[group]Fetching submodules
2023-02-21T19:15:51.4941865Z [command]/usr/bin/git submodule sync
2023-02-21T19:15:51.5173936Z [command]/usr/bin/git -c protocol.version=2 submodule update --init --force --depth=1
2023-02-21T19:15:51.5385895Z [command]/usr/bin/git submodule foreach git config --local gc.auto 0
2023-02-21T19:15:51.5647035Z ##[endgroup]
2023-02-21T19:15:51.5647659Z ##[group]Persisting credentials for submodules
2023-02-21T19:15:51.5652740Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'url\.https\:\/\/github\.com\/\.insteadOf' && git config --local --unset-all 'url.https://github.com/.insteadOf' || :"
2023-02-21T19:15:51.5870245Z [command]/usr/bin/git submodule foreach sh -c "git config --local 'http.https://github.com/.extraheader' 'AUTHORIZATION: basic ***' && git config --local --show-origin --name-only --get-regexp remote.origin.url"
2023-02-21T19:15:51.6113704Z [command]/usr/bin/git submodule foreach git config --local --add 'url.https://github.com/.insteadOf' 'git@github.com:'
2023-02-21T19:15:51.6335726Z [command]/usr/bin/git submodule foreach git config --local --add 'url.https://github.com/.insteadOf' 'org-19361656@github.com:'
2023-02-21T19:15:51.6548807Z ##[endgroup]
2023-02-21T19:15:51.6588595Z [command]/usr/bin/git log -1 --format='%H'
2023-02-21T19:15:51.6615849Z '513299a974713152185a5b6a171f449321d1942b'
2023-02-21T19:15:51.6917705Z ##[group]Run Azure/static-web-apps-deploy@v1
2023-02-21T19:15:51.6917967Z with:
2023-02-21T19:15:51.6918610Z   azure_static_web_apps_api_token: ***
2023-02-21T19:15:51.6919025Z   repo_token: ***
2023-02-21T19:15:51.6919216Z   action: upload
2023-02-21T19:15:51.6919413Z   app_location: /src
2023-02-21T19:15:51.6919619Z   api_location: /api
2023-02-21T19:15:51.6919811Z   output_location: out
2023-02-21T19:15:51.6920004Z env:
2023-02-21T19:15:51.6920180Z   NODE_VERSION: 14
2023-02-21T19:15:51.6920421Z   POST_BUILD_COMMAND: npm install @prisma/client
2023-02-21T19:15:51.6920645Z ##[endgroup]
2023-02-21T19:15:51.7161374Z ##[command]/usr/bin/docker run --name c10f6c940d71e41238285289506b1fc40_7d4d71 --label 49859c --workdir /github/workspace --rm -e "NODE_VERSION" -e "POST_BUILD_COMMAND" -e "INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN" -e "INPUT_REPO_TOKEN" -e "INPUT_ACTION" -e "INPUT_APP_LOCATION" -e "INPUT_API_LOCATION" -e "INPUT_OUTPUT_LOCATION" -e "INPUT_API_BUILD_COMMAND" -e "INPUT_APP_ARTIFACT_LOCATION" -e "INPUT_APP_BUILD_COMMAND" -e "INPUT_ROUTES_LOCATION" -e "INPUT_SKIP_APP_BUILD" -e "INPUT_CONFIG_FILE_LOCATION" -e "INPUT_SKIP_API_BUILD" -e "INPUT_PRODUCTION_BRANCH" -e "INPUT_DEPLOYMENT_ENVIRONMENT" -e "INPUT_IS_STATIC_EXPORT" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/futures-council/futures-council":"/github/workspace" 49859c:10f6c940d71e41238285289506b1fc40
2023-02-21T19:15:52.0462511Z DeploymentId: c381de11-7b6f-42a6-8589-81e57b38efd7
2023-02-21T19:15:52.0464832Z 
2023-02-21T19:15:52.1755111Z App Directory Location: '/src' was found.
2023-02-21T19:15:52.1759414Z Looking for event info
2023-02-21T19:15:52.9096041Z Starting to build app with Oryx
2023-02-21T19:15:52.9096767Z Azure Static Web Apps utilizes Oryx to build both static applications and Azure Functions. You can find more details on Oryx here: https://github.com/microsoft/Oryx
2023-02-21T19:15:52.9101681Z ---Oryx build logs---
2023-02-21T19:15:52.9101920Z 
2023-02-21T19:15:52.9102111Z 
2023-02-21T19:15:53.3374113Z Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
2023-02-21T19:15:53.3374635Z You can report issues at https://github.com/Microsoft/Oryx/issues
2023-02-21T19:15:53.3374931Z 
2023-02-21T19:15:53.3375382Z Oryx Version: 0.2.20221103.1, Commit: a2c65dde152b749fea395f4d1242ea9350942258, ReleaseTagName: 20221103.1
2023-02-21T19:15:53.3375696Z 
2023-02-21T19:15:53.3375984Z Build Operation ID: |7t8lCLK9xlE=.c6b7c6f4_
2023-02-21T19:15:53.3376357Z Repository Commit : 513299a974713152185a5b6a171f449321d1942b
2023-02-21T19:15:53.3376602Z 
2023-02-21T19:15:53.3577389Z Detecting platforms...
2023-02-21T19:15:54.4537667Z Detected following platforms:
2023-02-21T19:15:54.4538365Z   nodejs: 14.21.2
2023-02-21T19:15:54.4596149Z Version '14.21.2' of platform 'nodejs' is not installed. Generating script to install it...
2023-02-21T19:15:54.5209556Z Detected the following frameworks: Next.js
2023-02-21T19:15:54.6405085Z 
2023-02-21T19:15:54.6471657Z 
2023-02-21T19:15:54.6479988Z Source directory     : /github/workspace/src
2023-02-21T19:15:54.6480698Z Destination directory: /bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/app
2023-02-21T19:15:54.6481201Z 
2023-02-21T19:15:54.6481651Z 
2023-02-21T19:15:54.6485160Z Downloading and extracting 'nodejs' version '14.21.2' to '/opt/nodejs/14.21.2'...
2023-02-21T19:15:54.6511748Z Detected image debian flavor: bullseye.
2023-02-21T19:15:54.8688670Z Downloaded in 0 sec(s).
2023-02-21T19:15:54.8699575Z Verifying checksum...
2023-02-21T19:15:54.8756343Z Extracting contents...
2023-02-21T19:15:55.8448213Z performing sha512 checksum for: nodejs...
2023-02-21T19:15:55.9900658Z Done in 1 sec(s).
2023-02-21T19:15:55.9904552Z 
2023-02-21T19:15:56.0446860Z Removing existing manifest file
2023-02-21T19:15:56.0458133Z Creating directory for command manifest file if it does not exist
2023-02-21T19:15:56.0527079Z Creating a manifest file...
2023-02-21T19:15:56.0530505Z Node Build Command Manifest file created.
2023-02-21T19:15:56.0533503Z 
2023-02-21T19:15:56.0536483Z Using Node version:
2023-02-21T19:15:56.0539364Z v14.21.2
2023-02-21T19:15:56.0542697Z 
2023-02-21T19:15:56.0545901Z Using Npm version:
2023-02-21T19:15:56.2025759Z 6.14.17
2023-02-21T19:15:56.2095565Z 
2023-02-21T19:15:56.2095964Z Running 'npm install --unsafe-perm'...
2023-02-21T19:15:56.2096221Z 
2023-02-21T19:15:56.5933531Z npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
2023-02-21T19:16:16.8033858Z 
2023-02-21T19:16:16.8034500Z > core-js-pure@3.26.1 postinstall /github/workspace/src/node_modules/core-js-pure
2023-02-21T19:16:16.8040930Z > node -e "try{require('./postinstall')}catch(e){}"
2023-02-21T19:16:16.8043282Z 
2023-02-21T19:16:17.1566330Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm64@13.0.3 (node_modules/@next/swc-android-arm64):
2023-02-21T19:16:17.1572752Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-android-arm64@13.0.3: wanted {"os":"android","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.1573436Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-arm64@13.0.3 (node_modules/@next/swc-darwin-arm64):
2023-02-21T19:16:17.1574148Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-darwin-arm64@13.0.3: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.1575005Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-x64@13.0.3 (node_modules/@next/swc-darwin-x64):
2023-02-21T19:16:17.1626557Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-darwin-x64@13.0.3: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.1633923Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-freebsd-x64@13.0.3 (node_modules/@next/swc-freebsd-x64):
2023-02-21T19:16:17.1634624Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-freebsd-x64@13.0.3: wanted {"os":"freebsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.1730312Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm-gnueabihf@13.0.3 (node_modules/@next/swc-linux-arm-gnueabihf):
2023-02-21T19:16:17.1734193Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm-gnueabihf@13.0.3: wanted {"os":"linux","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.1862589Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-gnu@13.0.3 (node_modules/@next/swc-linux-arm64-gnu):
2023-02-21T19:16:17.2309783Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm64-gnu@13.0.3: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.2316983Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-musl@13.0.3 (node_modules/@next/swc-linux-arm64-musl):
2023-02-21T19:16:17.2323198Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm64-musl@13.0.3: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.2329175Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-arm64-msvc@13.0.3 (node_modules/@next/swc-win32-arm64-msvc):
2023-02-21T19:16:17.2335109Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-arm64-msvc@13.0.3: wanted {"os":"win32","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.2340894Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-ia32-msvc@13.0.3 (node_modules/@next/swc-win32-ia32-msvc):
2023-02-21T19:16:17.2347606Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-ia32-msvc@13.0.3: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.2353250Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-x64-msvc@13.0.3 (node_modules/@next/swc-win32-x64-msvc):
2023-02-21T19:16:17.2358923Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-x64-msvc@13.0.3: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.2364029Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm-eabi@13.0.3 (node_modules/@next/swc-android-arm-eabi):
2023-02-21T19:16:17.2364749Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-android-arm-eabi@13.0.3: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.2391801Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
2023-02-21T19:16:17.2394474Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:17.2402322Z 
2023-02-21T19:16:17.2423689Z added 310 packages from 263 contributors and audited 322 packages in 20.685s
2023-02-21T19:16:17.3328825Z 
2023-02-21T19:16:17.3334683Z 98 packages are looking for funding
2023-02-21T19:16:17.3339766Z   run `npm fund` for details
2023-02-21T19:16:17.3344067Z 
2023-02-21T19:16:17.3350214Z found 1 high severity vulnerability
2023-02-21T19:16:17.3354753Z   run `npm audit fix` to fix them, or `npm audit` for details
2023-02-21T19:16:17.3571204Z 
2023-02-21T19:16:17.3571499Z Running 'npm run build'...
2023-02-21T19:16:17.3576845Z 
2023-02-21T19:16:17.5455835Z 
2023-02-21T19:16:17.5457245Z > futures-council-src@0.1.0 build /github/workspace/src
2023-02-21T19:16:17.5459623Z > next build && next export
2023-02-21T19:16:17.5459977Z 
2023-02-21T19:16:17.9687512Z warn  - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
2023-02-21T19:16:17.9799142Z Attention: Next.js now collects completely anonymous telemetry regarding usage.
2023-02-21T19:16:17.9801385Z This information is used to shape Next.js' roadmap and prioritize features.
2023-02-21T19:16:17.9803219Z You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
2023-02-21T19:16:17.9804559Z https://nextjs.org/telemetry
2023-02-21T19:16:17.9807327Z 
2023-02-21T19:16:18.0868545Z info  - Linting and checking validity of types...
2023-02-21T19:16:22.5786862Z info  - Creating an optimized production build...
2023-02-21T19:16:29.0261832Z info  - Compiled successfully
2023-02-21T19:16:29.0281751Z info  - Collecting page data...
2023-02-21T19:16:34.1110669Z info  - Generating static pages (0/6)
2023-02-21T19:16:34.1903042Z info  - Generating static pages (1/6)
2023-02-21T19:16:34.1936692Z info  - Generating static pages (2/6)
2023-02-21T19:16:34.2054997Z info  - Generating static pages (4/6)
2023-02-21T19:16:34.2174323Z info  - Generating static pages (6/6)
2023-02-21T19:16:34.2283458Z info  - Finalizing page optimization...
2023-02-21T19:16:34.2313454Z 
2023-02-21T19:16:34.2472449Z Route (pages)                              Size     First Load JS
2023-02-21T19:16:34.2477904Z ┌ ○ /                                      2.68 kB        81.6 kB
2023-02-21T19:16:34.2481566Z ├   /_app                                  0 B            78.9 kB
2023-02-21T19:16:34.2484210Z ├ ○ /404                                   2.31 kB        81.2 kB
2023-02-21T19:16:34.2486835Z ├ ○ /admin                                 2.19 kB        81.1 kB
2023-02-21T19:16:34.2487171Z ├ ○ /december                              22.9 kB         102 kB
2023-02-21T19:16:34.2489994Z └ ○ /notCouncilMember                      2.45 kB        81.4 kB
2023-02-21T19:16:34.2490474Z + First Load JS shared by all              83.1 kB
2023-02-21T19:16:34.2496860Z   ├ chunks/framework-ffee79c6390da51e.js   45.7 kB
2023-02-21T19:16:34.2497405Z   ├ chunks/main-5cebf592faf0463a.js        31.8 kB
2023-02-21T19:16:34.2497774Z   ├ chunks/pages/_app-05f53d08443c56f6.js  402 B
2023-02-21T19:16:34.2498131Z   ├ chunks/webpack-2369ea09e775031e.js     1.02 kB
2023-02-21T19:16:34.2498476Z   └ css/86229b3e717ed7dc.css               4.23 kB
2023-02-21T19:16:34.2498712Z 
2023-02-21T19:16:34.2499070Z ○  (Static)  automatically rendered as static HTML (uses no initial props)
2023-02-21T19:16:34.2499375Z 
2023-02-21T19:16:34.8187276Z info  - using build directory: /github/workspace/src/.next
2023-02-21T19:16:34.8230032Z info  - Copying "static build" directory
2023-02-21T19:16:34.8257615Z info  - No "exportPathMap" found in "/github/workspace/src/next.config.js". Generating map from "./pages"
2023-02-21T19:16:34.8271171Z info  - Launching 1 workers
2023-02-21T19:16:34.8280527Z info  - Exporting (0/6)
2023-02-21T19:16:34.8294894Z info  - Copying "public" directory
2023-02-21T19:16:34.9687535Z info  - Exporting (1/6)
2023-02-21T19:16:34.9704662Z info  - Exporting (2/6)
2023-02-21T19:16:34.9727895Z info  - Exporting (4/6)
2023-02-21T19:16:34.9751120Z info  - Exporting (6/6)
2023-02-21T19:16:34.9843677Z Export successful. Files written to /github/workspace/src/out
2023-02-21T19:16:34.9969761Z 
2023-02-21T19:16:34.9974131Z Executing post-build command...
2023-02-21T19:16:44.5523809Z 
2023-02-21T19:16:44.5528426Z > @prisma/client@4.10.1 postinstall /github/workspace/src/node_modules/@prisma/client
2023-02-21T19:16:44.5535949Z > node scripts/postinstall.js
2023-02-21T19:16:44.5539034Z 
2023-02-21T19:16:44.6168554Z warning In order to use "@prisma/client", please install Prisma CLI. You can install it with "npm add -D prisma".
2023-02-21T19:16:44.8575617Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm-eabi@13.0.3 (node_modules/@next/swc-android-arm-eabi):
2023-02-21T19:16:44.8579242Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-android-arm-eabi@13.0.3: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.8654925Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm64@13.0.3 (node_modules/@next/swc-android-arm64):
2023-02-21T19:16:44.8660398Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-android-arm64@13.0.3: wanted {"os":"android","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.8757907Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-arm64@13.0.3 (node_modules/@next/swc-darwin-arm64):
2023-02-21T19:16:44.8771200Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-darwin-arm64@13.0.3: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.8853757Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-x64@13.0.3 (node_modules/@next/swc-darwin-x64):
2023-02-21T19:16:44.8864011Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-darwin-x64@13.0.3: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.8951322Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-freebsd-x64@13.0.3 (node_modules/@next/swc-freebsd-x64):
2023-02-21T19:16:44.8956548Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-freebsd-x64@13.0.3: wanted {"os":"freebsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9024204Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm-gnueabihf@13.0.3 (node_modules/@next/swc-linux-arm-gnueabihf):
2023-02-21T19:16:44.9028557Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm-gnueabihf@13.0.3: wanted {"os":"linux","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9096505Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-gnu@13.0.3 (node_modules/@next/swc-linux-arm64-gnu):
2023-02-21T19:16:44.9100829Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm64-gnu@13.0.3: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9169366Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-musl@13.0.3 (node_modules/@next/swc-linux-arm64-musl):
2023-02-21T19:16:44.9173419Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-linux-arm64-musl@13.0.3: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9250085Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-arm64-msvc@13.0.3 (node_modules/@next/swc-win32-arm64-msvc):
2023-02-21T19:16:44.9254698Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-arm64-msvc@13.0.3: wanted {"os":"win32","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9313817Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-ia32-msvc@13.0.3 (node_modules/@next/swc-win32-ia32-msvc):
2023-02-21T19:16:44.9317909Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-ia32-msvc@13.0.3: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9385410Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-x64-msvc@13.0.3 (node_modules/@next/swc-win32-x64-msvc):
2023-02-21T19:16:44.9390319Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @next/swc-win32-x64-msvc@13.0.3: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9489825Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
2023-02-21T19:16:44.9494011Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2023-02-21T19:16:44.9498542Z 
2023-02-21T19:16:44.9513678Z + @prisma/client@4.10.1
2023-02-21T19:16:44.9517396Z added 2 packages from 1 contributor and audited 324 packages in 9.616s
2023-02-21T19:16:45.0425292Z 
2023-02-21T19:16:45.0429315Z 98 packages are looking for funding
2023-02-21T19:16:45.0433052Z   run `npm fund` for details
2023-02-21T19:16:45.0436482Z 
2023-02-21T19:16:45.0441626Z found 1 high severity vulnerability
2023-02-21T19:16:45.0445359Z   run `npm audit fix` to fix them, or `npm audit` for details
2023-02-21T19:16:45.0627527Z Finished executing post-build command.
2023-02-21T19:16:45.0631525Z Preparing output...
2023-02-21T19:16:45.0635045Z 
2023-02-21T19:16:45.0639024Z Copying files to destination directory '/bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/app'...
2023-02-21T19:16:46.7872061Z Done in 1 sec(s).
2023-02-21T19:16:46.7888143Z 
2023-02-21T19:16:46.7888974Z Removing existing manifest file
2023-02-21T19:16:46.7902152Z Creating a manifest file...
2023-02-21T19:16:46.7906470Z Manifest file created.
2023-02-21T19:16:46.7908621Z Copying .ostype to manifest output directory.
2023-02-21T19:16:46.7926900Z 
2023-02-21T19:16:46.7929585Z Done in 52 sec(s).
2023-02-21T19:16:46.8805594Z 
2023-02-21T19:16:46.8805846Z 
2023-02-21T19:16:46.8806114Z ---End of Oryx build logs---
2023-02-21T19:16:46.8810842Z Finished building app with Oryx
2023-02-21T19:16:47.1255749Z Using 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored.
2023-02-21T19:16:47.1609095Z Copying 'staticwebapp.config.json' to build output
2023-02-21T19:16:47.1711585Z Api Directory Location: '/api' was found.
2023-02-21T19:16:47.1976459Z Starting to build function app with Oryx
2023-02-21T19:16:47.1976787Z ---Oryx build logs---
2023-02-21T19:16:47.1977024Z 
2023-02-21T19:16:47.1977214Z 
2023-02-21T19:16:47.6391094Z Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx
2023-02-21T19:16:47.6391632Z You can report issues at https://github.com/Microsoft/Oryx/issues
2023-02-21T19:16:47.6391928Z 
2023-02-21T19:16:47.6392353Z Oryx Version: 0.2.20221103.1, Commit: a2c65dde152b749fea395f4d1242ea9350942258, ReleaseTagName: 20221103.1
2023-02-21T19:16:47.6392663Z 
2023-02-21T19:16:47.6396078Z Build Operation ID: |yCi4PBE4J5w=.a3b3f140_
2023-02-21T19:16:47.6396674Z Repository Commit : 513299a974713152185a5b6a171f449321d1942b
2023-02-21T19:16:47.6441508Z 
2023-02-21T19:16:47.6600397Z Detecting platforms...
2023-02-21T19:16:49.1223625Z Detected following platforms:
2023-02-21T19:16:49.1224012Z   nodejs: 16.19.0
2023-02-21T19:16:49.1285322Z Version '16.19.0' of platform 'nodejs' is not installed. Generating script to install it...
2023-02-21T19:16:49.3060636Z 
2023-02-21T19:16:49.3123745Z 
2023-02-21T19:16:49.3130797Z Source directory     : /github/workspace/api
2023-02-21T19:16:49.3137222Z Destination directory: /bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/api
2023-02-21T19:16:49.3142535Z 
2023-02-21T19:16:49.3163494Z 
2023-02-21T19:16:49.3167862Z Downloading and extracting 'nodejs' version '16.19.0' to '/opt/nodejs/16.19.0'...
2023-02-21T19:16:49.3197989Z Detected image debian flavor: bullseye.
2023-02-21T19:16:49.8859836Z Downloaded in 0 sec(s).
2023-02-21T19:16:49.8864478Z Verifying checksum...
2023-02-21T19:16:49.8910700Z Extracting contents...
2023-02-21T19:16:50.8064077Z performing sha512 checksum for: nodejs...
2023-02-21T19:16:50.9510835Z Done in 1 sec(s).
2023-02-21T19:16:50.9514807Z 
2023-02-21T19:16:51.0044497Z Removing existing manifest file
2023-02-21T19:16:51.0063755Z Creating directory for command manifest file if it does not exist
2023-02-21T19:16:51.0086263Z Creating a manifest file...
2023-02-21T19:16:51.0090918Z Node Build Command Manifest file created.
2023-02-21T19:16:51.0094791Z 
2023-02-21T19:16:51.0098503Z Using Node version:
2023-02-21T19:16:51.0165020Z v16.19.0
2023-02-21T19:16:51.0168526Z 
2023-02-21T19:16:51.0171951Z Using Npm version:
2023-02-21T19:16:51.3044841Z 8.19.3
2023-02-21T19:16:51.3190298Z 
2023-02-21T19:16:51.3200236Z Installing production dependencies in '/github/workspace/api/.oryx_prod_node_modules'...
2023-02-21T19:16:51.3200572Z 
2023-02-21T19:16:51.3200910Z Running 'npm install --unsafe-perm --production'...
2023-02-21T19:16:51.3201182Z 
2023-02-21T19:16:51.6017389Z npm WARN config production Use `--omit=dev` instead.
2023-02-21T19:16:55.7833279Z 
2023-02-21T19:16:55.7833683Z added 44 packages, and audited 45 packages in 4s
2023-02-21T19:16:55.7833945Z 
2023-02-21T19:16:55.7834191Z 1 package is looking for funding
2023-02-21T19:16:55.7834484Z   run `npm fund` for details
2023-02-21T19:16:55.7863901Z 
2023-02-21T19:16:55.7882205Z 2 moderate severity vulnerabilities
2023-02-21T19:16:55.7882479Z 
2023-02-21T19:16:55.7882730Z To address all issues, run:
2023-02-21T19:16:55.7882994Z   npm audit fix
2023-02-21T19:16:55.7883205Z 
2023-02-21T19:16:55.7883439Z Run `npm audit` for details.
2023-02-21T19:16:55.7981211Z 
2023-02-21T19:16:55.7981753Z Copying production dependencies from '/github/workspace/api/.oryx_prod_node_modules' to '/github/workspace/api/node_modules'...
2023-02-21T19:16:56.0346194Z Done in 1 sec(s).
2023-02-21T19:16:56.0347195Z 
2023-02-21T19:16:56.0349232Z Running 'npm install --unsafe-perm'...
2023-02-21T19:16:56.0350032Z 
2023-02-21T19:16:57.6065397Z npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
2023-02-21T19:16:57.6990398Z npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
2023-02-21T19:17:05.1355064Z 
2023-02-21T19:17:05.1361789Z added 144 packages, and audited 189 packages in 9s
2023-02-21T19:17:05.1428633Z 
2023-02-21T19:17:05.1434711Z 25 packages are looking for funding
2023-02-21T19:17:05.1435885Z   run `npm fund` for details
2023-02-21T19:17:05.1438755Z 
2023-02-21T19:17:05.1439949Z 2 moderate severity vulnerabilities
2023-02-21T19:17:05.1441052Z 
2023-02-21T19:17:05.1442525Z To address all issues, run:
2023-02-21T19:17:05.1443767Z   npm audit fix
2023-02-21T19:17:05.1445067Z 
2023-02-21T19:17:05.1446292Z Run `npm audit` for details.
2023-02-21T19:17:05.1554480Z 
2023-02-21T19:17:05.1557131Z Copy '/github/workspace/api/node_modules' with all dependencies to '/github/workspace/api/.oryx_all_node_modules'...
2023-02-21T19:17:06.9824728Z 
2023-02-21T19:17:06.9828245Z Copying production dependencies from '/github/workspace/api/.oryx_prod_node_modules/node_modules' to '/github/workspace/api/node_modules'...
2023-02-21T19:17:07.3694604Z 
2023-02-21T19:17:07.3695196Z Executing post-build command...
2023-02-21T19:17:08.9570213Z npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
2023-02-21T19:17:08.9961495Z npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
2023-02-21T19:17:17.5422439Z 
2023-02-21T19:17:17.5428899Z added 144 packages, and audited 189 packages in 10s
2023-02-21T19:17:17.5429323Z 
2023-02-21T19:17:17.5429628Z 25 packages are looking for funding
2023-02-21T19:17:17.5435889Z   run `npm fund` for details
2023-02-21T19:17:17.5477141Z 
2023-02-21T19:17:17.5485869Z 2 moderate severity vulnerabilities
2023-02-21T19:17:17.5486138Z 
2023-02-21T19:17:17.5486396Z To address all issues, run:
2023-02-21T19:17:17.5486652Z   npm audit fix
2023-02-21T19:17:17.5486872Z 
2023-02-21T19:17:17.5487113Z Run `npm audit` for details.
2023-02-21T19:17:17.5664354Z Finished executing post-build command.
2023-02-21T19:17:17.5664706Z Preparing output...
2023-02-21T19:17:17.5664950Z 
2023-02-21T19:17:17.5665418Z Copying files to destination directory '/bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/api'...
2023-02-21T19:17:19.0687231Z Done in 2 sec(s).
2023-02-21T19:17:19.0721596Z 
2023-02-21T19:17:19.0725840Z Removing existing manifest file
2023-02-21T19:17:19.0738394Z Creating a manifest file...
2023-02-21T19:17:19.0741962Z Manifest file created.
2023-02-21T19:17:19.0748910Z Copying .ostype to manifest output directory.
2023-02-21T19:17:19.0778187Z 
2023-02-21T19:17:19.0778452Z Done in 30 sec(s).
2023-02-21T19:17:19.7442363Z 
2023-02-21T19:17:19.7442668Z 
2023-02-21T19:17:19.7442945Z ---End of Oryx build logs---
2023-02-21T19:17:19.7448106Z Function Runtime Information. OS: linux, Functions Runtime: ~4, node version: 16
2023-02-21T19:17:19.7453376Z Finished building function app with Oryx
2023-02-21T19:17:21.4331306Z Zipping Api Artifacts
2023-02-21T19:17:52.6759873Z Done Zipping Api Artifacts
2023-02-21T19:17:53.0572566Z The content server has rejected the request with: BadRequest
2023-02-21T19:17:53.0573042Z Reason: The size of the function content was too large. The limit for this Static Web App is 104857600 bytes.
2023-02-21T19:17:53.1108160Z 
2023-02-21T19:17:53.1108969Z For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
2023-02-21T19:17:53.1109754Z If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
2023-02-21T19:17:53.1110211Z Exiting
2023-02-21T19:17:55.0201984Z Post job cleanup.
2023-02-21T19:17:55.1510167Z [command]/usr/bin/git version
2023-02-21T19:17:55.1563218Z git version 2.39.2
2023-02-21T19:17:55.1596021Z Temporarily overriding HOME='/home/runner/work/_temp/186b5370-f780-42b8-82f0-f1ab4d4b9724' before making global git config changes
2023-02-21T19:17:55.1597504Z Adding repository directory to the temporary git global config as a safe directory
2023-02-21T19:17:55.1602712Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/futures-council/futures-council
2023-02-21T19:17:55.1687677Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-02-21T19:17:55.1726521Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-02-21T19:17:55.1940698Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-02-21T19:17:55.1967298Z http.https://github.com/.extraheader
2023-02-21T19:17:55.1978677Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2023-02-21T19:17:55.2011894Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-02-21T19:17:55.2452118Z Cleaning up orphan processes

This github action:

name: Azure Static Web Apps CI/CD

on:
  push:
    branches:
      - main
  pull_request:
    types: [opened, synchronize, reopened, closed]
    branches:
      - main

jobs:
  build_and_deploy_job:
    if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
    runs-on: ubuntu-latest
    name: Build and Deploy Job
    steps:
      - uses: actions/checkout@v3
        with:
          submodules: true
      - name: Build And Deploy
        id: builddeploy
        uses: Azure/static-web-apps-deploy@v1
        with:
          azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_SEA_0C1DF771E }}
          repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
          action: "upload"
          ###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
          # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
          app_location: "/src" # App source code path
          api_location: "/api" # Api source code path - optional
          output_location: "out" # Built app content directory - optional
          ###### End of Repository/Build Configurations ######
        env: # Add environment variables here
          NODE_VERSION: 14
          POST_BUILD_COMMAND: "npm install @prisma/client"

  close_pull_request_job:
    if: github.event_name == 'pull_request' && github.event.action == 'closed'
    runs-on: ubuntu-latest
    name: Close Pull Request Job
    steps:
      - name: Close Pull Request
        id: closepullrequest
        uses: Azure/static-web-apps-deploy@v1
        with:
          azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GENTLE_SEA_0C1DF771E }}
          action: "close"
Syntarex commented 1 year ago

I got the same issue. But I'm wondering why the application gets bigger then 100mbit. I'm really confused.