==> Building on s ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/prettier ./ PKGBUILD 1,062 100% 0.00kB/s 0:00:00 1,062 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) prettier-2.7.0-1.log 236 100% 230.47kB/s 0:00:00 236 100% 230.47kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 883 bytes received 97 bytes 392.00 bytes/sec total size is 1,250 speedup is 1.28 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix31 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix31]...done ==> Making package: prettier 2.7.0-1 (Wed Jun 15 01:12:59 2022) ==> Retrieving sources...  -> Downloading prettier-2.7.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3335k 0 3335k 0 0 3528k 0 --:--:-- --:--:-- --:--:-- 6222k ==> Validating source files with sha256sums... prettier-2.7.0.tar.gz ... Passed ==> Making package: prettier 2.7.0-1 (Wed Jun 15 01:13:12 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change extra/c-ares 1.18.1-1 0.43 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.43.0-1 0.51 MiB community/nodejs 18.3.0-1 33.55 MiB Total Installed Size: 34.55 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing libuv... installing c-ares... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (6) New Version Net Change community/node-gyp 9.0.0-1 4.31 MiB community/nodejs-nopt 5.0.0-2 0.03 MiB core/python 3.10.1-2 79.11 MiB community/semver 7.3.7-1 0.11 MiB community/npm 8.5.5-1 6.05 MiB community/yarn 1.22.19-1 5.08 MiB Total Installed Size: 94.69 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing yarn... installing nodejs-nopt... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing semver... installing node-gyp... installing npm... [?25h==> Retrieving sources...  -> Found prettier-2.7.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting prettier-2.7.0.tar.gz with bsdtar ==> Starting prepare()... yarn install v1.22.19 [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... [4/5] Linking dependencies... warning " > @typescript-eslint/eslint-plugin@5.20.0" has unmet peer dependency "@typescript-eslint/parser@^5.0.0". warning " > rollup-plugin-license@2.7.0" has unmet peer dependency "rollup@^1.0.0 || ^2.0.0". [5/5] Building fresh packages... Done in 172.66s. ==> Starting build()... yarn run v1.22.19 $ node ./scripts/build/build.mjs file:///build/prettier/src/prettier-2.7.0/scripts/build/esbuild-plugins/umd.mjs:3 import { outdent } from "outdent"; ^^^^^^^ SyntaxError: Named export 'outdent' not found. The requested module 'outdent' is a CommonJS module, which may not support all module.exports as named exports. CommonJS modules can always be imported via the default export, for example using: import pkg from 'outdent'; const { outdent } = pkg; at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21) at async ModuleJob.run (node:internal/modules/esm/module_job:194:5) at async Promise.all (index 0) at async ESMLoader.import (node:internal/modules/esm/loader:409:24) at async loadESM (node:internal/process/esm_loader:85:5) at async handleMainPromise (node:internal/modules/run_main:61:12) Node.js v18.3.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix31/build receiving incremental file list prettier-2.7.0-1-riscv64-build.log prettier-2.7.0-1-riscv64-prepare.log sent 62 bytes received 1,003 bytes 426.00 bytes/sec total size is 1,494 speedup is 1.40