← back to Grant
Remove stray @next/swc-darwin-arm64 hard dependency (broke linux deploy)
a073178bd99d6e9e3e8dae7613f69904e4979b5d · 2026-06-01 15:32:01 -0700 · Steve Abrams
Mac-only native SWC binary was pinned in dependencies; Next resolves the
correct per-platform binary as an optional dep automatically. As a hard dep
it made npm install fail with EBADPLATFORM on prod (linux/x64). Prod's prior
package.json never had it.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
M package-lock.jsonM package.json
Diff
commit a073178bd99d6e9e3e8dae7613f69904e4979b5d
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Jun 1 15:32:01 2026 -0700
Remove stray @next/swc-darwin-arm64 hard dependency (broke linux deploy)
Mac-only native SWC binary was pinned in dependencies; Next resolves the
correct per-platform binary as an optional dep automatically. As a hard dep
it made npm install fail with EBADPLATFORM on prod (linux/x64). Prod's prior
package.json never had it.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
package-lock.json | 80 ++++++++++++++++++++++++++++++++++++++++++++-----------
package.json | 1 -
2 files changed, 64 insertions(+), 17 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 85eca9c..4e241a4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,6 @@
"version": "0.1.0",
"dependencies": {
"@dw/nextjs-admin-login": "file:/tmp/dw-nextjs-admin-login-0.2.0.tgz",
- "@next/swc-darwin-arm64": "^16.2.4",
"@types/pg": "^8.16.0",
"@types/sanitize-html": "^2.16.1",
"lucide-react": "^0.575.0",
@@ -580,21 +579,6 @@
"integrity": "sha512-N1ySLuZjnAtN3kFnwhAwPvZah8RJxKasD7x1f8shFqhncnWZn4JMfg37diLNuoHsLAlrDfM3g4mawVdtAG8XLQ==",
"license": "MIT"
},
- "node_modules/@next/swc-darwin-arm64": {
- "version": "16.2.4",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-16.2.4.tgz",
- "integrity": "sha512-OXTFFox5EKN1Ym08vfrz+OXxmCcEjT4SFMbNRsWZE99dMqt2Kcusl5MqPXcW232RYkMLQTy0hqgAMEsfEd/l2A==",
- "cpu": [
- "arm64"
- ],
- "license": "MIT",
- "os": [
- "darwin"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
"node_modules/@next/swc-darwin-x64": {
"version": "16.1.6",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-16.1.6.tgz",
@@ -939,6 +923,70 @@
"node": ">=14.0.0"
}
},
+ "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core": {
+ "version": "1.8.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.1.0",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime": {
+ "version": "1.8.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads": {
+ "version": "1.1.0",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime": {
+ "version": "1.1.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.7.1",
+ "@emnapi/runtime": "^1.7.1",
+ "@tybys/wasm-util": "^0.10.1"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util": {
+ "version": "0.10.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@tailwindcss/oxide-wasm32-wasi/node_modules/tslib": {
+ "version": "2.8.1",
+ "dev": true,
+ "inBundle": true,
+ "license": "0BSD",
+ "optional": true
+ },
"node_modules/@tailwindcss/oxide-win32-arm64-msvc": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/@tailwindcss/oxide-win32-arm64-msvc/-/oxide-win32-arm64-msvc-4.2.1.tgz",
diff --git a/package.json b/package.json
index 2c96d22..1206cd3 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,6 @@
},
"dependencies": {
"@dw/nextjs-admin-login": "file:/tmp/dw-nextjs-admin-login-0.2.0.tgz",
- "@next/swc-darwin-arm64": "^16.2.4",
"@types/pg": "^8.16.0",
"@types/sanitize-html": "^2.16.1",
"lucide-react": "^0.575.0",
← d27ef8c Add admin-level account + Live/Admin view toggle
·
back to Grant
·
Add 3 guest login tiers with capability-based access control d921396 →