MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / _npmInstall

Method _npmInstall

lib/tasks/install-blueprint.js:167–173  ·  view source on GitHub ↗
(cwd, name)

Source from the content-addressed store, hash-verified

165 }
166
167 _npmInstall(cwd, name) {
168 logger.info(`Running "npm install" for "${name}" in "${cwd}" ...`);
169
170 this._copyNpmrc(cwd);
171
172 return execa('npm', ['install', '--no-package-lock', '--save', name], { cwd });
173 }
174
175 _handleNpmInstallModuleError(error) {
176 let match = error.stderr && error.stderr.match(NOT_FOUND_REGEXP);

Callers 1

_tryRemoteBlueprintMethod · 0.95

Calls 1

_copyNpmrcMethod · 0.95

Tested by

no test coverage detected