<!-- DO NOT DELETE validate_template=true template_path=.github/ISSUE_TEMPLATE/bug_report.md --> <!-- Thank you for contributing to the Firebase community! Think you found a bug? ======================= Yeah, we're definitely not perfect! Please use this template and include a minimal repro when opening the issue. If you know how to solve the issue, please create a Pull Request, and we'd be happy to review it! Have a feature request? ======================== Great, we love hearing how we can improve our products! However, do not use this template to submit a feature request. Please submit your feature requests to: https://firebase.google.com/support/contact/bugs-features/ Have a usage question? ======================= We get lots of those and we love helping you, but GitHub is not the best place for them and they will be closed. Please take a look at the guide first: https://firebase.google.com/docs/cli/ If the official documentation doesn't help, try asking through our official support channel: https://firebase.google.com/support/ Additional locations to check for solutions or assistance from the community: - Stack Overflow: https://stackoverflow.com/ - Firebase Slack Community: https://firebase.community/ *Please avoid duplicate posting across multiple channels!* --> ### [REQUIRED] Environment info <!-- What version of the Firebase CLI (`firebase-tools`) are you using? Note that your issue may already be fixed in the latest versions. The latest version can be found at https://github.com/firebase/firebase-tools/releases --> <!-- Output of `firebase --version` --> **firebase-tools:** 11.18.0 <!-- e.g. macOS, Windows, Ubuntu --> **Platform:** macOS ### [REQUIRED] Test case <!-- Provide a minimal, complete, and verifiable example (http://stackoverflow.com/help/mcve) --> ```jsonc // firebase.json { "functions": { "predeploy": "npm run build --workspace=packages/foobar", // NG // "predeploy": "npm run build --workspace packages/foobar", // OK // "predeploy": "npm run build --workspace\\=packages/foobar", // OK // "predeploy": "npm run build -w packages/foobar", // OK // "predeploy": "npm --prefix \"$RESOURCE_DIR\" run build", // OK "source": "packages/foobar" } } ``` ``` $ firebase deploy --only functions === Deploying to '---'... i deploying functions Running command: npm run build --workspace=packages/foobar ✔ functions: Finished running predeploy script. ``` It outputs `Finished running predeploy script.`, but the predeploy was not running. This behavior seems to be caused by `cross-env-shell`. ### [REQUIRED] Steps to reproduce <!-- Provide the steps needed to reproduce the issue with the above test case. --> Add predeploy script that contains `=` to firebase.json. ### [REQUIRED] Expected behavior <!-- What is the expected behavior? --> The predeploy and postdeploy scripts have finished running. ### [REQUIRED] Actual behavior <!-- Run the command with --debug flag, and include the logs below. -->