Cause:
- You are not in a workspace generated by
bfast fs create.
Fix:
cdinto a valid workspace.- Ensure
bfast.jsonexists.
Cause:
- Workspace is incomplete or modified.
Fix:
- Ensure
<workspace>/functionsexists. - Recreate workspace with
bfast fs create <name>if needed.
Cause:
- Invalid JSON syntax in
bfast.json.
Fix:
- Correct JSON formatting.
- Compare with template created by
bfast fs create.
Checks:
- Verify functions are exported correctly from files in
functions/. - Check
ignorepatterns inbfast.json. - Run static mode to isolate watcher issues:
bfast fs serve --static --port 3000