Open Sealjay opened 1 year ago
Hi,
Try to put this in github actions.
PRE_BUILD_COMMAND: 'npx prisma generate' POST_BUILD_COMMAND: 'npx prisma generate'
I tried that previously, but will retry and post logs. Can't remember the error I got before.
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.
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 [37mApp Directory Location: '/src' was found.[0m
2023-02-21T19:15:52.1759414Z [37mLooking for event info[0m
2023-02-21T19:15:52.9096041Z [37mStarting to build app with Oryx[0m
2023-02-21T19:15:52.9096767Z [33mAzure 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[0m
2023-02-21T19:15:52.9101681Z [37m---Oryx build logs---[0m
2023-02-21T19:15:52.9101920Z [37m[0m
2023-02-21T19:15:52.9102111Z [37m[0m
2023-02-21T19:15:53.3374113Z [37mOperation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx[0m
2023-02-21T19:15:53.3374635Z [37mYou can report issues at https://github.com/Microsoft/Oryx/issues[0m
2023-02-21T19:15:53.3374931Z [37m[0m
2023-02-21T19:15:53.3375382Z [37mOryx Version: 0.2.20221103.1, Commit: a2c65dde152b749fea395f4d1242ea9350942258, ReleaseTagName: 20221103.1[0m
2023-02-21T19:15:53.3375696Z [37m[0m
2023-02-21T19:15:53.3375984Z [37mBuild Operation ID: |7t8lCLK9xlE=.c6b7c6f4_[0m
2023-02-21T19:15:53.3376357Z [37mRepository Commit : 513299a974713152185a5b6a171f449321d1942b[0m
2023-02-21T19:15:53.3376602Z [37m[0m
2023-02-21T19:15:53.3577389Z [37mDetecting platforms...[0m
2023-02-21T19:15:54.4537667Z [37mDetected following platforms:[0m
2023-02-21T19:15:54.4538365Z [37m nodejs: 14.21.2[0m
2023-02-21T19:15:54.4596149Z [37mVersion '14.21.2' of platform 'nodejs' is not installed. Generating script to install it...[0m
2023-02-21T19:15:54.5209556Z [37mDetected the following frameworks: Next.js[0m
2023-02-21T19:15:54.6405085Z [37m[0m
2023-02-21T19:15:54.6471657Z [37m[0m
2023-02-21T19:15:54.6479988Z [37mSource directory : /github/workspace/src[0m
2023-02-21T19:15:54.6480698Z [37mDestination directory: /bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/app[0m
2023-02-21T19:15:54.6481201Z [37m[0m
2023-02-21T19:15:54.6481651Z [37m[0m
2023-02-21T19:15:54.6485160Z [37mDownloading and extracting 'nodejs' version '14.21.2' to '/opt/nodejs/14.21.2'...[0m
2023-02-21T19:15:54.6511748Z [37mDetected image debian flavor: bullseye.[0m
2023-02-21T19:15:54.8688670Z [37mDownloaded in 0 sec(s).[0m
2023-02-21T19:15:54.8699575Z [37mVerifying checksum...[0m
2023-02-21T19:15:54.8756343Z [37mExtracting contents...[0m
2023-02-21T19:15:55.8448213Z [37mperforming sha512 checksum for: nodejs...[0m
2023-02-21T19:15:55.9900658Z [37mDone in 1 sec(s).[0m
2023-02-21T19:15:55.9904552Z [37m[0m
2023-02-21T19:15:56.0446860Z [37mRemoving existing manifest file[0m
2023-02-21T19:15:56.0458133Z [37mCreating directory for command manifest file if it does not exist[0m
2023-02-21T19:15:56.0527079Z [37mCreating a manifest file...[0m
2023-02-21T19:15:56.0530505Z [37mNode Build Command Manifest file created.[0m
2023-02-21T19:15:56.0533503Z [37m[0m
2023-02-21T19:15:56.0536483Z [37mUsing Node version:[0m
2023-02-21T19:15:56.0539364Z [37mv14.21.2[0m
2023-02-21T19:15:56.0542697Z [37m[0m
2023-02-21T19:15:56.0545901Z [37mUsing Npm version:[0m
2023-02-21T19:15:56.2025759Z [37m6.14.17[0m
2023-02-21T19:15:56.2095565Z [37m[0m
2023-02-21T19:15:56.2095964Z [37mRunning 'npm install --unsafe-perm'...[0m
2023-02-21T19:15:56.2096221Z [37m[0m
2023-02-21T19:15:56.5933531Z [31mnpm 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![0m
2023-02-21T19:16:16.8033858Z [37m[0m
2023-02-21T19:16:16.8034500Z [37m> core-js-pure@3.26.1 postinstall /github/workspace/src/node_modules/core-js-pure[0m
2023-02-21T19:16:16.8040930Z [37m> node -e "try{require('./postinstall')}catch(e){}"[0m
2023-02-21T19:16:16.8043282Z [37m[0m
2023-02-21T19:16:17.1566330Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm64@13.0.3 (node_modules/@next/swc-android-arm64):[0m
2023-02-21T19:16:17.1572752Z [31mnpm 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"})[0m
2023-02-21T19:16:17.1573436Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-arm64@13.0.3 (node_modules/@next/swc-darwin-arm64):[0m
2023-02-21T19:16:17.1574148Z [31mnpm 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"})[0m
2023-02-21T19:16:17.1575005Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-x64@13.0.3 (node_modules/@next/swc-darwin-x64):[0m
2023-02-21T19:16:17.1626557Z [31mnpm 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"})[0m
2023-02-21T19:16:17.1633923Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-freebsd-x64@13.0.3 (node_modules/@next/swc-freebsd-x64):[0m
2023-02-21T19:16:17.1634624Z [31mnpm 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"})[0m
2023-02-21T19:16:17.1730312Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm-gnueabihf@13.0.3 (node_modules/@next/swc-linux-arm-gnueabihf):[0m
2023-02-21T19:16:17.1734193Z [31mnpm 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"})[0m
2023-02-21T19:16:17.1862589Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-gnu@13.0.3 (node_modules/@next/swc-linux-arm64-gnu):[0m
2023-02-21T19:16:17.2309783Z [31mnpm 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"})[0m
2023-02-21T19:16:17.2316983Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-musl@13.0.3 (node_modules/@next/swc-linux-arm64-musl):[0m
2023-02-21T19:16:17.2323198Z [31mnpm 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"})[0m
2023-02-21T19:16:17.2329175Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-arm64-msvc@13.0.3 (node_modules/@next/swc-win32-arm64-msvc):[0m
2023-02-21T19:16:17.2335109Z [31mnpm 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"})[0m
2023-02-21T19:16:17.2340894Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-ia32-msvc@13.0.3 (node_modules/@next/swc-win32-ia32-msvc):[0m
2023-02-21T19:16:17.2347606Z [31mnpm 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"})[0m
2023-02-21T19:16:17.2353250Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-x64-msvc@13.0.3 (node_modules/@next/swc-win32-x64-msvc):[0m
2023-02-21T19:16:17.2358923Z [31mnpm 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"})[0m
2023-02-21T19:16:17.2364029Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm-eabi@13.0.3 (node_modules/@next/swc-android-arm-eabi):[0m
2023-02-21T19:16:17.2364749Z [31mnpm 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"})[0m
2023-02-21T19:16:17.2391801Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):[0m
2023-02-21T19:16:17.2394474Z [31mnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})[0m
2023-02-21T19:16:17.2402322Z [31m[0m
2023-02-21T19:16:17.2423689Z [37madded 310 packages from 263 contributors and audited 322 packages in 20.685s[0m
2023-02-21T19:16:17.3328825Z [37m[0m
2023-02-21T19:16:17.3334683Z [37m98 packages are looking for funding[0m
2023-02-21T19:16:17.3339766Z [37m run `npm fund` for details[0m
2023-02-21T19:16:17.3344067Z [37m[0m
2023-02-21T19:16:17.3350214Z [37mfound 1 high severity vulnerability[0m
2023-02-21T19:16:17.3354753Z [37m run `npm audit fix` to fix them, or `npm audit` for details[0m
2023-02-21T19:16:17.3571204Z [37m[0m
2023-02-21T19:16:17.3571499Z [37mRunning 'npm run build'...[0m
2023-02-21T19:16:17.3576845Z [37m[0m
2023-02-21T19:16:17.5455835Z [37m[0m
2023-02-21T19:16:17.5457245Z [37m> futures-council-src@0.1.0 build /github/workspace/src[0m
2023-02-21T19:16:17.5459623Z [37m> next build && next export[0m
2023-02-21T19:16:17.5459977Z [37m[0m
2023-02-21T19:16:17.9687512Z [37mwarn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache[0m
2023-02-21T19:16:17.9799142Z [37mAttention: Next.js now collects completely anonymous telemetry regarding usage.[0m
2023-02-21T19:16:17.9801385Z [37mThis information is used to shape Next.js' roadmap and prioritize features.[0m
2023-02-21T19:16:17.9803219Z [37mYou can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:[0m
2023-02-21T19:16:17.9804559Z [37mhttps://nextjs.org/telemetry[0m
2023-02-21T19:16:17.9807327Z [37m[0m
2023-02-21T19:16:18.0868545Z [37minfo - Linting and checking validity of types...[0m
2023-02-21T19:16:22.5786862Z [37minfo - Creating an optimized production build...[0m
2023-02-21T19:16:29.0261832Z [37minfo - Compiled successfully[0m
2023-02-21T19:16:29.0281751Z [37minfo - Collecting page data...[0m
2023-02-21T19:16:34.1110669Z [37minfo - Generating static pages (0/6)[0m
2023-02-21T19:16:34.1903042Z [37minfo - Generating static pages (1/6)[0m
2023-02-21T19:16:34.1936692Z [37minfo - Generating static pages (2/6)[0m
2023-02-21T19:16:34.2054997Z [37minfo - Generating static pages (4/6)[0m
2023-02-21T19:16:34.2174323Z [37minfo - Generating static pages (6/6)[0m
2023-02-21T19:16:34.2283458Z [37minfo - Finalizing page optimization...[0m
2023-02-21T19:16:34.2313454Z [37m[0m
2023-02-21T19:16:34.2472449Z [37mRoute (pages) Size First Load JS[0m
2023-02-21T19:16:34.2477904Z [37m┌ ○ / 2.68 kB 81.6 kB[0m
2023-02-21T19:16:34.2481566Z [37m├ /_app 0 B 78.9 kB[0m
2023-02-21T19:16:34.2484210Z [37m├ ○ /404 2.31 kB 81.2 kB[0m
2023-02-21T19:16:34.2486835Z [37m├ ○ /admin 2.19 kB 81.1 kB[0m
2023-02-21T19:16:34.2487171Z [37m├ ○ /december 22.9 kB 102 kB[0m
2023-02-21T19:16:34.2489994Z [37m└ ○ /notCouncilMember 2.45 kB 81.4 kB[0m
2023-02-21T19:16:34.2490474Z [37m+ First Load JS shared by all 83.1 kB[0m
2023-02-21T19:16:34.2496860Z [37m ├ chunks/framework-ffee79c6390da51e.js 45.7 kB[0m
2023-02-21T19:16:34.2497405Z [37m ├ chunks/main-5cebf592faf0463a.js 31.8 kB[0m
2023-02-21T19:16:34.2497774Z [37m ├ chunks/pages/_app-05f53d08443c56f6.js 402 B[0m
2023-02-21T19:16:34.2498131Z [37m ├ chunks/webpack-2369ea09e775031e.js 1.02 kB[0m
2023-02-21T19:16:34.2498476Z [37m └ css/86229b3e717ed7dc.css 4.23 kB[0m
2023-02-21T19:16:34.2498712Z [37m[0m
2023-02-21T19:16:34.2499070Z [37m○ (Static) automatically rendered as static HTML (uses no initial props)[0m
2023-02-21T19:16:34.2499375Z [37m[0m
2023-02-21T19:16:34.8187276Z [37minfo - using build directory: /github/workspace/src/.next[0m
2023-02-21T19:16:34.8230032Z [37minfo - Copying "static build" directory[0m
2023-02-21T19:16:34.8257615Z [37minfo - No "exportPathMap" found in "/github/workspace/src/next.config.js". Generating map from "./pages"[0m
2023-02-21T19:16:34.8271171Z [37minfo - Launching 1 workers[0m
2023-02-21T19:16:34.8280527Z [37minfo - Exporting (0/6)[0m
2023-02-21T19:16:34.8294894Z [37minfo - Copying "public" directory[0m
2023-02-21T19:16:34.9687535Z [37minfo - Exporting (1/6)[0m
2023-02-21T19:16:34.9704662Z [37minfo - Exporting (2/6)[0m
2023-02-21T19:16:34.9727895Z [37minfo - Exporting (4/6)[0m
2023-02-21T19:16:34.9751120Z [37minfo - Exporting (6/6)[0m
2023-02-21T19:16:34.9843677Z [37mExport successful. Files written to /github/workspace/src/out[0m
2023-02-21T19:16:34.9969761Z [37m[0m
2023-02-21T19:16:34.9974131Z [37mExecuting post-build command...[0m
2023-02-21T19:16:44.5523809Z [37m[0m
2023-02-21T19:16:44.5528426Z [37m> @prisma/client@4.10.1 postinstall /github/workspace/src/node_modules/@prisma/client[0m
2023-02-21T19:16:44.5535949Z [37m> node scripts/postinstall.js[0m
2023-02-21T19:16:44.5539034Z [37m[0m
2023-02-21T19:16:44.6168554Z [31m[33mwarning[39m In order to use "@prisma/client", please install Prisma CLI. You can install it with "npm add -D prisma".[0m
2023-02-21T19:16:44.8575617Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm-eabi@13.0.3 (node_modules/@next/swc-android-arm-eabi):[0m
2023-02-21T19:16:44.8579242Z [31mnpm 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"})[0m
2023-02-21T19:16:44.8654925Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-android-arm64@13.0.3 (node_modules/@next/swc-android-arm64):[0m
2023-02-21T19:16:44.8660398Z [31mnpm 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"})[0m
2023-02-21T19:16:44.8757907Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-arm64@13.0.3 (node_modules/@next/swc-darwin-arm64):[0m
2023-02-21T19:16:44.8771200Z [31mnpm 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"})[0m
2023-02-21T19:16:44.8853757Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-darwin-x64@13.0.3 (node_modules/@next/swc-darwin-x64):[0m
2023-02-21T19:16:44.8864011Z [31mnpm 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"})[0m
2023-02-21T19:16:44.8951322Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-freebsd-x64@13.0.3 (node_modules/@next/swc-freebsd-x64):[0m
2023-02-21T19:16:44.8956548Z [31mnpm 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"})[0m
2023-02-21T19:16:44.9024204Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm-gnueabihf@13.0.3 (node_modules/@next/swc-linux-arm-gnueabihf):[0m
2023-02-21T19:16:44.9028557Z [31mnpm 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"})[0m
2023-02-21T19:16:44.9096505Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-gnu@13.0.3 (node_modules/@next/swc-linux-arm64-gnu):[0m
2023-02-21T19:16:44.9100829Z [31mnpm 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"})[0m
2023-02-21T19:16:44.9169366Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-linux-arm64-musl@13.0.3 (node_modules/@next/swc-linux-arm64-musl):[0m
2023-02-21T19:16:44.9173419Z [31mnpm 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"})[0m
2023-02-21T19:16:44.9250085Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-arm64-msvc@13.0.3 (node_modules/@next/swc-win32-arm64-msvc):[0m
2023-02-21T19:16:44.9254698Z [31mnpm 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"})[0m
2023-02-21T19:16:44.9313817Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-ia32-msvc@13.0.3 (node_modules/@next/swc-win32-ia32-msvc):[0m
2023-02-21T19:16:44.9317909Z [31mnpm 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"})[0m
2023-02-21T19:16:44.9385410Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: @next/swc-win32-x64-msvc@13.0.3 (node_modules/@next/swc-win32-x64-msvc):[0m
2023-02-21T19:16:44.9390319Z [31mnpm 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"})[0m
2023-02-21T19:16:44.9489825Z [31mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):[0m
2023-02-21T19:16:44.9494011Z [31mnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})[0m
2023-02-21T19:16:44.9498542Z [31m[0m
2023-02-21T19:16:44.9513678Z [37m+ @prisma/client@4.10.1[0m
2023-02-21T19:16:44.9517396Z [37madded 2 packages from 1 contributor and audited 324 packages in 9.616s[0m
2023-02-21T19:16:45.0425292Z [37m[0m
2023-02-21T19:16:45.0429315Z [37m98 packages are looking for funding[0m
2023-02-21T19:16:45.0433052Z [37m run `npm fund` for details[0m
2023-02-21T19:16:45.0436482Z [37m[0m
2023-02-21T19:16:45.0441626Z [37mfound 1 high severity vulnerability[0m
2023-02-21T19:16:45.0445359Z [37m run `npm audit fix` to fix them, or `npm audit` for details[0m
2023-02-21T19:16:45.0627527Z [37mFinished executing post-build command.[0m
2023-02-21T19:16:45.0631525Z [37mPreparing output...[0m
2023-02-21T19:16:45.0635045Z [37m[0m
2023-02-21T19:16:45.0639024Z [37mCopying files to destination directory '/bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/app'...[0m
2023-02-21T19:16:46.7872061Z [37mDone in 1 sec(s).[0m
2023-02-21T19:16:46.7888143Z [37m[0m
2023-02-21T19:16:46.7888974Z [37mRemoving existing manifest file[0m
2023-02-21T19:16:46.7902152Z [37mCreating a manifest file...[0m
2023-02-21T19:16:46.7906470Z [37mManifest file created.[0m
2023-02-21T19:16:46.7908621Z [37mCopying .ostype to manifest output directory.[0m
2023-02-21T19:16:46.7926900Z [37m[0m
2023-02-21T19:16:46.7929585Z [37mDone in 52 sec(s).[0m
2023-02-21T19:16:46.8805594Z [37m[0m
2023-02-21T19:16:46.8805846Z [37m[0m
2023-02-21T19:16:46.8806114Z [37m---End of Oryx build logs---[0m
2023-02-21T19:16:46.8810842Z [37mFinished building app with Oryx[0m
2023-02-21T19:16:47.1255749Z [37mUsing 'staticwebapp.config.json' file for configuration information, 'routes.json' will be ignored.[0m
2023-02-21T19:16:47.1609095Z [37mCopying 'staticwebapp.config.json' to build output[0m
2023-02-21T19:16:47.1711585Z [37mApi Directory Location: '/api' was found.[0m
2023-02-21T19:16:47.1976459Z [37mStarting to build function app with Oryx[0m
2023-02-21T19:16:47.1976787Z [37m---Oryx build logs---[0m
2023-02-21T19:16:47.1977024Z [37m[0m
2023-02-21T19:16:47.1977214Z [37m[0m
2023-02-21T19:16:47.6391094Z [37mOperation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx[0m
2023-02-21T19:16:47.6391632Z [37mYou can report issues at https://github.com/Microsoft/Oryx/issues[0m
2023-02-21T19:16:47.6391928Z [37m[0m
2023-02-21T19:16:47.6392353Z [37mOryx Version: 0.2.20221103.1, Commit: a2c65dde152b749fea395f4d1242ea9350942258, ReleaseTagName: 20221103.1[0m
2023-02-21T19:16:47.6392663Z [37m[0m
2023-02-21T19:16:47.6396078Z [37mBuild Operation ID: |yCi4PBE4J5w=.a3b3f140_[0m
2023-02-21T19:16:47.6396674Z [37mRepository Commit : 513299a974713152185a5b6a171f449321d1942b[0m
2023-02-21T19:16:47.6441508Z [37m[0m
2023-02-21T19:16:47.6600397Z [37mDetecting platforms...[0m
2023-02-21T19:16:49.1223625Z [37mDetected following platforms:[0m
2023-02-21T19:16:49.1224012Z [37m nodejs: 16.19.0[0m
2023-02-21T19:16:49.1285322Z [37mVersion '16.19.0' of platform 'nodejs' is not installed. Generating script to install it...[0m
2023-02-21T19:16:49.3060636Z [37m[0m
2023-02-21T19:16:49.3123745Z [37m[0m
2023-02-21T19:16:49.3130797Z [37mSource directory : /github/workspace/api[0m
2023-02-21T19:16:49.3137222Z [37mDestination directory: /bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/api[0m
2023-02-21T19:16:49.3142535Z [37m[0m
2023-02-21T19:16:49.3163494Z [37m[0m
2023-02-21T19:16:49.3167862Z [37mDownloading and extracting 'nodejs' version '16.19.0' to '/opt/nodejs/16.19.0'...[0m
2023-02-21T19:16:49.3197989Z [37mDetected image debian flavor: bullseye.[0m
2023-02-21T19:16:49.8859836Z [37mDownloaded in 0 sec(s).[0m
2023-02-21T19:16:49.8864478Z [37mVerifying checksum...[0m
2023-02-21T19:16:49.8910700Z [37mExtracting contents...[0m
2023-02-21T19:16:50.8064077Z [37mperforming sha512 checksum for: nodejs...[0m
2023-02-21T19:16:50.9510835Z [37mDone in 1 sec(s).[0m
2023-02-21T19:16:50.9514807Z [37m[0m
2023-02-21T19:16:51.0044497Z [37mRemoving existing manifest file[0m
2023-02-21T19:16:51.0063755Z [37mCreating directory for command manifest file if it does not exist[0m
2023-02-21T19:16:51.0086263Z [37mCreating a manifest file...[0m
2023-02-21T19:16:51.0090918Z [37mNode Build Command Manifest file created.[0m
2023-02-21T19:16:51.0094791Z [37m[0m
2023-02-21T19:16:51.0098503Z [37mUsing Node version:[0m
2023-02-21T19:16:51.0165020Z [37mv16.19.0[0m
2023-02-21T19:16:51.0168526Z [37m[0m
2023-02-21T19:16:51.0171951Z [37mUsing Npm version:[0m
2023-02-21T19:16:51.3044841Z [37m8.19.3[0m
2023-02-21T19:16:51.3190298Z [37m[0m
2023-02-21T19:16:51.3200236Z [37mInstalling production dependencies in '/github/workspace/api/.oryx_prod_node_modules'...[0m
2023-02-21T19:16:51.3200572Z [37m[0m
2023-02-21T19:16:51.3200910Z [37mRunning 'npm install --unsafe-perm --production'...[0m
2023-02-21T19:16:51.3201182Z [37m[0m
2023-02-21T19:16:51.6017389Z [31mnpm WARN config production Use `--omit=dev` instead.[0m
2023-02-21T19:16:55.7833279Z [37m[0m
2023-02-21T19:16:55.7833683Z [37madded 44 packages, and audited 45 packages in 4s[0m
2023-02-21T19:16:55.7833945Z [37m[0m
2023-02-21T19:16:55.7834191Z [37m1 package is looking for funding[0m
2023-02-21T19:16:55.7834484Z [37m run `npm fund` for details[0m
2023-02-21T19:16:55.7863901Z [37m[0m
2023-02-21T19:16:55.7882205Z [37m2 moderate severity vulnerabilities[0m
2023-02-21T19:16:55.7882479Z [37m[0m
2023-02-21T19:16:55.7882730Z [37mTo address all issues, run:[0m
2023-02-21T19:16:55.7882994Z [37m npm audit fix[0m
2023-02-21T19:16:55.7883205Z [37m[0m
2023-02-21T19:16:55.7883439Z [37mRun `npm audit` for details.[0m
2023-02-21T19:16:55.7981211Z [37m[0m
2023-02-21T19:16:55.7981753Z [37mCopying production dependencies from '/github/workspace/api/.oryx_prod_node_modules' to '/github/workspace/api/node_modules'...[0m
2023-02-21T19:16:56.0346194Z [37mDone in 1 sec(s).[0m
2023-02-21T19:16:56.0347195Z [37m[0m
2023-02-21T19:16:56.0349232Z [37mRunning 'npm install --unsafe-perm'...[0m
2023-02-21T19:16:56.0350032Z [37m[0m
2023-02-21T19:16:57.6065397Z [31mnpm 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.)[0m
2023-02-21T19:16:57.6990398Z [31mnpm 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)[0m
2023-02-21T19:17:05.1355064Z [37m[0m
2023-02-21T19:17:05.1361789Z [37madded 144 packages, and audited 189 packages in 9s[0m
2023-02-21T19:17:05.1428633Z [37m[0m
2023-02-21T19:17:05.1434711Z [37m25 packages are looking for funding[0m
2023-02-21T19:17:05.1435885Z [37m run `npm fund` for details[0m
2023-02-21T19:17:05.1438755Z [37m[0m
2023-02-21T19:17:05.1439949Z [37m2 moderate severity vulnerabilities[0m
2023-02-21T19:17:05.1441052Z [37m[0m
2023-02-21T19:17:05.1442525Z [37mTo address all issues, run:[0m
2023-02-21T19:17:05.1443767Z [37m npm audit fix[0m
2023-02-21T19:17:05.1445067Z [37m[0m
2023-02-21T19:17:05.1446292Z [37mRun `npm audit` for details.[0m
2023-02-21T19:17:05.1554480Z [37m[0m
2023-02-21T19:17:05.1557131Z [37mCopy '/github/workspace/api/node_modules' with all dependencies to '/github/workspace/api/.oryx_all_node_modules'...[0m
2023-02-21T19:17:06.9824728Z [37m[0m
2023-02-21T19:17:06.9828245Z [37mCopying production dependencies from '/github/workspace/api/.oryx_prod_node_modules/node_modules' to '/github/workspace/api/node_modules'...[0m
2023-02-21T19:17:07.3694604Z [37m[0m
2023-02-21T19:17:07.3695196Z [37mExecuting post-build command...[0m
2023-02-21T19:17:08.9570213Z [31mnpm 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.)[0m
2023-02-21T19:17:08.9961495Z [31mnpm 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)[0m
2023-02-21T19:17:17.5422439Z [37m[0m
2023-02-21T19:17:17.5428899Z [37madded 144 packages, and audited 189 packages in 10s[0m
2023-02-21T19:17:17.5429323Z [37m[0m
2023-02-21T19:17:17.5429628Z [37m25 packages are looking for funding[0m
2023-02-21T19:17:17.5435889Z [37m run `npm fund` for details[0m
2023-02-21T19:17:17.5477141Z [37m[0m
2023-02-21T19:17:17.5485869Z [37m2 moderate severity vulnerabilities[0m
2023-02-21T19:17:17.5486138Z [37m[0m
2023-02-21T19:17:17.5486396Z [37mTo address all issues, run:[0m
2023-02-21T19:17:17.5486652Z [37m npm audit fix[0m
2023-02-21T19:17:17.5486872Z [37m[0m
2023-02-21T19:17:17.5487113Z [37mRun `npm audit` for details.[0m
2023-02-21T19:17:17.5664354Z [37mFinished executing post-build command.[0m
2023-02-21T19:17:17.5664706Z [37mPreparing output...[0m
2023-02-21T19:17:17.5664950Z [37m[0m
2023-02-21T19:17:17.5665418Z [37mCopying files to destination directory '/bin/staticsites/c381de11-7b6f-42a6-8589-81e57b38efd7-swa-oryx/api'...[0m
2023-02-21T19:17:19.0687231Z [37mDone in 2 sec(s).[0m
2023-02-21T19:17:19.0721596Z [37m[0m
2023-02-21T19:17:19.0725840Z [37mRemoving existing manifest file[0m
2023-02-21T19:17:19.0738394Z [37mCreating a manifest file...[0m
2023-02-21T19:17:19.0741962Z [37mManifest file created.[0m
2023-02-21T19:17:19.0748910Z [37mCopying .ostype to manifest output directory.[0m
2023-02-21T19:17:19.0778187Z [37m[0m
2023-02-21T19:17:19.0778452Z [37mDone in 30 sec(s).[0m
2023-02-21T19:17:19.7442363Z [37m[0m
2023-02-21T19:17:19.7442668Z [37m[0m
2023-02-21T19:17:19.7442945Z [37m---End of Oryx build logs---[0m
2023-02-21T19:17:19.7448106Z [33mFunction Runtime Information. OS: linux, Functions Runtime: ~4, node version: 16[0m
2023-02-21T19:17:19.7453376Z [37mFinished building function app with Oryx[0m
2023-02-21T19:17:21.4331306Z [37mZipping Api Artifacts[0m
2023-02-21T19:17:52.6759873Z [37mDone Zipping Api Artifacts[0m
2023-02-21T19:17:53.0572566Z [31mThe content server has rejected the request with: BadRequest[0m
2023-02-21T19:17:53.0573042Z [31mReason: The size of the function content was too large. The limit for this Static Web App is 104857600 bytes.[0m
2023-02-21T19:17:53.1108160Z [37m[0m
2023-02-21T19:17:53.1108969Z [33mFor further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/[0m
2023-02-21T19:17:53.1109754Z [33mIf you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/[0m
2023-02-21T19:17:53.1110211Z [33mExiting[0m
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"
I got the same issue. But I'm wondering why the application gets bigger then 100mbit. I'm really confused.
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
import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient()