FirebaseExtended / FirebaseExtended/action-hosting-deploy
[BUG] Cannot Deploy Angular App To Firebase Hosting
- Dominant language
- TypeScript
- Stars
- 809
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I can't deploy my Angular application either by CI/CD or CLI command.
This worked a while and after a while it started showing the error...
The angular application runs without any errors when serving it.
### Action config
```
name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm i && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_HOSTING }}'
channelId: live
projectId: my-hosting
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks
```
or
```
firebase deploy --only hosting
```
### Error message
```
Error
at scheduleTarget (C:\Users\user\AppData\Roaming\nvm\v18.15.0\node_modules\firebase-tools\lib\frameworks\angular\index.js:51:19)
at async build (C:\Users\user\AppData\Roaming\nvm\v18.15.0\node_modules\firebase-tools\lib\frameworks\angular\index.js:64:9)
at async prepareFrameworks (C:\Users\user\AppData\Roaming\nvm\v18.15.0\node_modules\firebase-tools\lib\frameworks\index.js:193:108)
at async deploy (C:\Users\user\AppData\Roaming\nvm\v18.15.0\node_modules\firebase-tools\lib\deploy\index.js:55:13)
```
Contributor guide
Assessment
This issue has not been assessed yet.