We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30b615b + 8502c36 commit 1f97abeCopy full SHA for 1f97abe
packages/app/src/cli/services/generate/extension.ts
@@ -183,9 +183,9 @@ async function functionExtensionInit({
183
taskList.push({
184
title: 'Installing additional dependencies',
185
task: async () => {
186
- // We need to run `npm install` once to setup the workspace correctly
187
- if (app.usesWorkspaces && app.packageManager === 'npm') {
188
- await installNodeModules({packageManager: 'npm', directory: app.directory})
+ // We need to run install once to setup the workspace correctly
+ if (app.usesWorkspaces) {
+ await installNodeModules({packageManager: app.packageManager, directory: app.directory})
189
}
190
191
const requiredDependencies = getFunctionRuntimeDependencies(templateLanguage)
0 commit comments