Skip to content

Commit

Permalink
Merge pull request #1872 from elizaOS/fix-postinstall-script
Browse files Browse the repository at this point in the history
fix: Fix postinstall script
  • Loading branch information
shakkernerd authored Jan 5, 2025
2 parents 0be3960 + 7a7a12c commit 8124900
Show file tree
Hide file tree
Showing 2 changed files with 117 additions and 117 deletions.
4 changes: 2 additions & 2 deletions packages/plugin-node/scripts/postinstall.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import os from "os";
import { elizaLogger } from "@elizaos/core";
const platform = os.platform();

if (
platform === "linux" &&
!(os.release().includes("ubuntu") || os.release().includes("debian"))
) {
elizaLogger.log(
// DO NOT CHANGE THIS TO ELIZALOGGER, this file cannot depends on any workspace otherwise we can't build the workspace
console.log(
"Skipping playwright installation on unsupported platform:",
platform
);
Expand Down
Loading

0 comments on commit 8124900

Please sign in to comment.