-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building from source fails on Biome JS post install script #134
Comments
If you run |
Same issue ~/C/r/aquascope/frontend main ❱ ~/.local/bin/pnpm install
Scope: all 4 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +494
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
╭─────────────────────────────────────────────────────────────────╮
│ │
│ Update available! 9.1.1 → 9.6.0. │
│ Changelog: https://github.com/pnpm/pnpm/releases/tag/v9.6.0 │
│ Run a script from: https://pnpm.io/installation │
│ │
│ Follow @pnpmjs for updates: https://twitter.com/pnpmjs │
│ │
╰─────────────────────────────────────────────────────────────────╯
Progress: resolved 494, reused 494, downloaded 0, added 0, done
node_modules/.pnpm/[email protected]/node_modules/puppeteer: Running postinstall script...
node_modules/.pnpm/@[email protected]/node_modules/@biomejs/biome: Running postinstall script, failed in 60ms
.../node_modules/@biomejs/biome postinstall$ node scripts/postinstall.js
│ /home/rlorenzoleal/Code/rust/aquascope/frontend/node_modules/.pnpm/@[email protected]/node_modules/@biomejs/biome/scripts/postinstall.js:41
│ ? PLATFORMS?.["linux-musl"]?.[arch]
│ ^
│ SyntaxError: Unexpected token '.'
│ at wrapSafe (internal/modules/cjs/loader.js:915:16)
│ at Module._compile (internal/modules/cjs/loader.js:963:27)
│ at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
│ at Module.load (internal/modules/cjs/loader.js:863:32)
│ at Function.Module._load (internal/modules/cjs/loader.js:708:14)
│ at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
│ at internal/main/run_main_module.js:17:47
└─ Failed in 61ms at /home/rlorenzoleal/Code/rust/aquascope/frontend/node_modules/.pnpm/@[email protected]/node_modules/@biomejs/biome
ELIFECYCLE Command failed with exit code 1. |
Same issue, it seems to be the old version of nodejs. |
Same issue, not work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm following the installation from source from the read me. The Biome JS post install script fails with:
I'm running on Ubuntu 22.04.4 LTS in a x86 machine
The text was updated successfully, but these errors were encountered: