From 9008eb9797055429a10a380edeb3c1d6b2eea38b Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Thu, 23 Jan 2025 04:38:33 -0800 Subject: [PATCH] Do not install modules when installing agent --- .../packages/react-agents-node/install-agent.mjs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/usdk/packages/upstreet-agent/packages/react-agents-node/install-agent.mjs b/packages/usdk/packages/upstreet-agent/packages/react-agents-node/install-agent.mjs index c77a4f9a1..fc5308c56 100644 --- a/packages/usdk/packages/upstreet-agent/packages/react-agents-node/install-agent.mjs +++ b/packages/usdk/packages/upstreet-agent/packages/react-agents-node/install-agent.mjs @@ -4,7 +4,7 @@ import { mkdirp } from 'mkdirp'; import { rimraf } from 'rimraf'; import toml from '@iarna/toml'; import { getCurrentDirname } from '../react-agents/util/path-util.mjs'; -import { npmInstall } from '../../../../lib/npm-util.mjs'; +// import { npmInstall } from '../../../../lib/npm-util.mjs'; const dirname = getCurrentDirname(import.meta, process); const copyWithStringTransform = async (src, dst, transformFn = (s) => s) => { @@ -98,9 +98,6 @@ export const installAgent = async (directory) => { }; await removeDependencies(); - // install local dependencies (from the agent's package.json) - await npmInstall(directory); - // symlink node_modules deps const addDependencies = async () => { await Promise.all(dependencies.map(async (name) => {