Skip to content

Commit

Permalink
Do not install modules when installing agent
Browse files Browse the repository at this point in the history
  • Loading branch information
avaer committed Jan 23, 2025
1 parent 6ae419c commit 9008eb9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit 9008eb9

Please sign in to comment.