-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
[REQUIRED] Environment info
firebase-tools: 11.28.0
Platform: Windows
[REQUIRED] Test case
npm >9
firebase experiments:enable webframeworks
firebase emulators:start
[REQUIRED] Steps to reproduce
- Include Vite or other web hosting option
- Enable webframeworks option
- Start emulators
[REQUIRED] Expected behavior
Vite to start
[REQUIRED] Actual behavior
Error: Could not find the vite executable.
Notes:
package.json does not have an engines.npm definition and npm bin looks to be dropped in v9. Downgrading with npm install -g [email protected] fixed the issue.
https://docs.npmjs.com/cli/v8/commands
https://docs.npmjs.com/cli/v9/commands
firebase-tools/src/frameworks/index.ts
Line 237 in b80de64
| const npmBin = spawnSync("npm", ["bin"], { cwd }).stdout?.toString().trim(); |