Unable to deploy on windows using ng deploy
- Lenguaje dominante
- TypeScript
- Estrellas
- 7.8k
- Forks
- 2.2k
- Merge medio
- 22 h 28 min
- PR fusionados (30 d)
- 6
Descripción
### Version info
**Angular:** 13.3.0
**Firebase:** 9.6.10
**AngularFire:** 7.2.1
**Node:** 16.13.2
**Operating System:** Windows 11
### How to reproduce these conditions
**Unable to deploy on windows using ng deploy**
Hi, when I am trying to deploy the my app which have SSR enabled for firebase functions using ng deploy it just doesn't work.
Deployment just fails with error message : `Your code contains errors while deploying function ssr_app`
After many hours of searching I found that it is creating wrong package.json file it has a dependency stating myprojectname with value file:../../.. which looks like this exactly `"my-project": "file:../../.."`
This error is only being produced on windows machine, same doesn't happen on mac. Also manually removing that line and running firebase deploy does the job.
### Debug output
** Errors in the JavaScript console **
** Output from `firebase.database().enableLogging(true);` **
** Screenshots **

### Expected behavior
It should generate package.json correctly and invalid dependency should not be added in it.
### Actual behavior
It is adding an invalid dependency in generated function directory's package.json file which looks like this `"my-project": "file:../../.."`
Guía de contribución
Línea de trabajo
Reproduce ng deploy en Windows 11 con una aplicación de Firebase functions con SSR habilitado utilizando las versiones indicadas en el issue. Inspecciona la package.json del directorio de funciones generado y compárala con el despliegue en macOS. Se considera terminado cuando no se genera la dependencia no válida file:../../.. y el despliegue se realiza correctamente sin editar manualmente package.json.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, firebase, typescript
- Área
- cloud, devops
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100