Unable to start firebase project for existing instruction
AAlex-11 opened this issue · 0 comments
-
I have prepared database for your instruction https://github.com/firebase/quickstart-js/blob/master/firestore/README.md
-
Install firebase-tools and Node library to project \firestore and firestore\functions
-
adding firebase configuration to firestore\src\environments\environment.prod.ts and firestore\src\environments\environment.default.ts
-
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.
- 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
- Instruction step 7 is not working
firebase --use add
error: unknown option '--use'
- 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
- 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.