firebase / firebase/quickstart-js
Unable to start firebase project for existing instruction
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 3.7k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 6
Description
1. I have prepared database for your instruction https://github.com/firebase/quickstart-js/blob/master/firestore/README.md

2. Install firebase-tools and Node library to project \firestore and firestore\functions
3. adding firebase configuration to firestore\src\environments\environment.prod.ts and firestore\src\environments\environment.default.ts
4. than manually compiled two folders \firestore and firestore\functions (because nobody in Windows environment knows what mean this command "npm install && (cd functions && npm install)"
> At line:1 char:13
> + npm install && (cd functions && npm install)
> + ~~
> The token '&&' is not a valid statement separator in this version.
5. than npm start print me something usefulness information
> friendly-eats-quickstart@0.0.0 start
> npm run pre-build && firebase --project demo-friendly-eats emulators:exec --import ./imported-firebase-data --ui 'ng serve'
> friendly-eats-quickstart@0.0.0 pre-build
> (cd functions && npm run build)
> build
> tsc
6. Instruction step 7 is not working
>firebase --use add
>error: unknown option '--use'
7. Your instruction step 8 also "npm run production" also don't working
>npm run production
>npm ERR! Missing script: "production"
>npm ERR!
>npm ERR! To see a list of scripts, run:
>npm ERR! npm run
>npm ERR! A complete log of this run can be found in: C:\Users\Razen\AppData\Local\npm-cache\_logs\2023-08-15T19_30_30_985Z-debug-0.log
8. Than I try to start project and receive this error.
> ng serve --open

What does mean this trouble?
And can you create useful instruction to start this project?
Thank you.
Contributor guide
Assessment
This issue has not been assessed yet.