You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prisma engines currently have a bug where prisma refuses to honour environment variables pointing to local engine binaries, but I have worked around this by manually copying the locally compiled binaries to node_modules/@prisma/engines in between yarn install and yarn build, so we do get a working Prisma client.
However, yarn build now fails at the next build command, with the following error:
$ next build
info - Loaded env from [PATH TO]/github.com/mikecao/umami/.env
info - Skipping linting
info - Checking validity of types
info - Creating an optimized production build .memory allocation of 10 bytes failed
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "build-app" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Any ideas? I tried adding the max-old-space-size=4096 to the next build command, but no dice. There is plenty of free memory on this machine.
In the meantime, I think I need to roll back to 1.32.0, which was my last successful FreeBSD build (didn't try 1.33.x or 1.34 tbh).
This discussion was converted from issue #1334 on August 10, 2022 15:56.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Cannot get 1.35.0 to build on FreeBSD.
Prisma engines currently have a bug where prisma refuses to honour environment variables pointing to local engine binaries, but I have worked around this by manually copying the locally compiled binaries to
node_modules/@prisma/engines
in betweenyarn install
andyarn build
, so we do get a working Prisma client.However,
yarn build
now fails at thenext build
command, with the following error:Any ideas? I tried adding the
max-old-space-size=4096
to the next build command, but no dice. There is plenty of free memory on this machine.In the meantime, I think I need to roll back to 1.32.0, which was my last successful FreeBSD build (didn't try 1.33.x or 1.34 tbh).
Beta Was this translation helpful? Give feedback.
All reactions