-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Needs: Author FeedbackIssues awaiting author feedbackIssues awaiting author feedbackapi: hostingtype: bug
Description
[REQUIRED] Environment info
firebase-tools: 13.29.1
Platform: Windows
[REQUIRED] Test case
Use this snippet in firebase.json and run firebase deploy --only hosting
[REQUIRED] Steps to reproduce
"hosting": {
"public": "build/web",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"frameworksBackend": {
"region": "europe-west1"
},
"predeploy": [
"flutter build web --base-href /app/ --output build/web/app",
"cp -r hosting/* build/web/"
],
"rewrites": [
{
"source": "/app/**",
"destination": "/app/index.html"
}
]
}
[REQUIRED] Expected behavior
Command runs
[REQUIRED] Actual behavior
i deploying hosting
Running command: flutter build web --base-href /app/ --output build/web/app
Received a --base-href value of "\app\"
--base-href should start and end with /
node:events:496
throw er; // Unhandled 'error' event
^
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackIssues awaiting author feedbackIssues awaiting author feedbackapi: hostingtype: bug