firebase / firebase/firebase-tools
Emulators on macOS fail with bolt database rules
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.3k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 84
Description
### [REQUIRED] Environment info
**firebase-tools: 11.10.0**
**Platform: macOS Ventura on Apple Silicon M2**
### [REQUIRED] Test case
### [REQUIRED] Steps to reproduce
1. Make an empty project
2. Add (a bare minimum of) bolt database rules ( I used `path / {read(){true}write(){true}}`)
3. Run `firebase emulators:start`
### [REQUIRED] Expected behavior
Expected to have emulators running without a problem
### [REQUIRED] Actual behavior
Emulators fail on trying to compile the bolt rules:
`Error: Failed to load initial Database Emulator rules:
../database.bolt:npm ERR! canceled`
Complete log: [npm.log](https://github.com/firebase/firebase-tools/files/10036124/npm.log)
When compiling bolt rules manually, and using the compiled json, the emulators work fine.
It works fine on a Intel macOS Monterey machine, but fails on my Apple Silicon Ventura machine, I don't have any other machines so I'm not sure whether it may have something to do with either Intel/Apple Silicon or Monterey/Ventura.
Contributor guide
Assessment
This issue has not been assessed yet.