MCPcopy Index your code
hub / github.com/redfin/react-server / installDeps

Function installDeps

packages/generator-react-server/test/app.js:131–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131function installDeps() {
132 return new Promise((resolve, reject) => {
133 cp.exec('npm install', (error) => {
134 if (error) {
135 reject(error);
136 } else {
137 const localDeps = ['react-server-cli', 'react-server']
138 .map(dep => path.resolve(path.join(__dirname, '../..', dep)));
139 cp.exec(shellescape(['npm', 'install'].concat(localDeps)), (error) => {
140 if (error) {
141 reject(error);
142 } else {
143 resolve();
144 }
145 });
146 }
147 });
148 });
149}

Callers 1

app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…