Posts made here expire after 2 […]
[bridged from https://aus.social/@vk4msl on the fediverse by https://fed.brid.gy/ ]
It used to be it'd fail to build unless I did set the "max old space size". This is a VM with 8GB of RAM… it did get an upgrade when the Atom C2000 issue was resolved on a couple of old boards meant I gained some extra […]
It used to be it'd fail to build unless I did set the "max old space size". This is a VM with 8GB of RAM… it did get an upgrade when the Atom C2000 issue was resolved on a couple of old boards meant I gained some extra […]
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xe38a0e node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/bin/node]
2: 0x120a5a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate* […]
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xe38a0e node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/usr/bin/node]
2: 0x120a5a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate* […]
root@mastodon:~# nodejs --version
v22.21.0
```
…let's try that assets compile step again!
root@mastodon:~# nodejs --version
v22.21.0
```
…let's try that assets compile step again!
Not so much I'm "holding" broken packages, just the distribution has moved on. Now PostgreSQL v18 is installed and it'll attempt an update […]
Not so much I'm "holding" broken packages, just the distribution has moved on. Now PostgreSQL v18 is installed and it'll attempt an update […]
root@mastodon:~# apt-get install -y postgresql
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution […]
root@mastodon:~# apt-get install -y postgresql
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution […]
```
The following packages have been kept back:
postgresql
```
I hate it when Debian does things without explaining what's going on.
```
The following packages have been kept back:
postgresql
```
I hate it when Debian does things without explaining what's going on.
Building with Vite ⚡
You are using Node.js 20.5.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.
failed to load config from /home/mastodon/live/vite.config.mts
error during build:
TypeError: crypto.hash is not a function
at file […]
Building with Vite ⚡
You are using Node.js 20.5.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.
failed to load config from /home/mastodon/live/vite.config.mts
error during build:
TypeError: crypto.hash is not a function
at file […]
The `--max-old-space-size=768` is needed here because `nodejs`' heap management sucks, it just `malloc`s until it hits `ENOMEM` then dies.
The `--max-old-space-size=768` is needed here because `nodejs`' heap management sucks, it just `malloc`s until it hits `ENOMEM` then dies.
mastodon@mastodon:~/live$ rbenv install
==> Downloading ruby-3.4.7.tar.gz...
-> curl -q -fL -o ruby-3.4.7.tar.gz https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.7.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22.1M 100 22.1M […]
mastodon@mastodon:~/live$ rbenv install
==> Downloading ruby-3.4.7.tar.gz...
-> curl -q -fL -o ruby-3.4.7.tar.gz https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.7.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22.1M 100 22.1M […]
==> Installed ruby-3.4.4 to /home/mastodon/.rbenv/versions/3.4.4
```
First hurdle cleared. Now for the next steps…
```
env NODE_OPTIONS="--max-old-space-size=768" RAILS_ENV=production sh -c 'bundle install && yarn install --immutable && bundle exec rails assets:precompile' && […]
==> Installed ruby-3.4.4 to /home/mastodon/.rbenv/versions/3.4.4
```
First hurdle cleared. Now for the next steps…
```
env NODE_OPTIONS="--max-old-space-size=768" RAILS_ENV=production sh -c 'bundle install && yarn install --immutable && bundle exec rails assets:precompile' && […]