Step 6 is broken
See original GitHub issueHaving issue with step 6. expected output is 5 chunks but all I’m getting is 4 `Time: 19011ms chunk {0} styles.b8bba95fab8adefc8f7b.bundle.css (styles) 84 bytes [initial] [rendered] chunk {1} polyfills.997d8cc03812de50ae67.bundle.js (polyfills) 84 bytes [initial] [rendered] chunk {2} main.ee32620ecd1edff94184.bundle.js (main) 84 bytes [initial] [rendered] chunk {3} inline.318b50c57b4eba3d437b.bundle.js (inline) 796 bytes [entry] [rendered]
ERROR in node_modules/@angular/fire/database/interfaces.d.ts(2,26): error TS2307: Cannot find module ‘firebase/app’. node_modules/@angular/fire/firebase.app.module.d.ts(2,79): error TS2307: Cannot find module ‘firebase/app’. node_modules/@angular/fire/auth/auth.d.ts(4,28): error TS2307: Cannot find module ‘firebase/app’. src/app/app.component.ts(21,27): error TS2307: Cannot find module ‘firebase’. `
also the firebase deploy --except functions
part isnt working either. its giving me a 404 error.
` i deploying database, storage, hosting i database: checking rules syntax… ✔ database: rules syntax for database friendlychat-60902 is valid i storage: checking storage.rules for compilation errors… ✔ storage: rules file storage.rules compiled successfully i storage: uploading rules storage.rules… (node:11543) UnhandledPromiseRejectionWarning: Error at new FirebaseError (/home/archangel/.npm-global/lib/node_modules/firebase-tools/lib/error.js:9:18) at Object.reject (/home/archangel/.npm-global/lib/node_modules/firebase-tools/lib/utils.js:78:27) at /home/archangel/.npm-global/lib/node_modules/firebase-tools/lib/deploy/hosting/prepare.js:48:26 at arrayEach (/home/archangel/.npm-global/lib/node_modules/firebase-tools/node_modules/lodash/lodash.js:516:11) at Function.forEach (/home/archangel/.npm-global/lib/node_modules/firebase-tools/node_modules/lodash/lodash.js:9344:14) at module.exports (/home/archangel/.npm-global/lib/node_modules/firebase-tools/lib/deploy/hosting/prepare.js:29:7) at _chain (/home/archangel/.npm-global/lib/node_modules/firebase-tools/lib/deploy/index.js:22:40) at /home/archangel/.npm-global/lib/node_modules/firebase-tools/lib/deploy/index.js:25:20 at process.internalTickCallback (internal/process/next_tick.js:77:7) (node:11543) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:11543) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. i hosting[friendlychat-60902]: beginning deploy… i hosting[friendlychat-60902]: found 0 files in dist ✔ hosting[friendlychat-60902]: file upload complete i database: releasing rules… ✔ database: rules for database friendlychat-60902 released successfully ✔ storage: released rules storage.rules to firebase.storage/friendlychat-60902.appspot.com i hosting[friendlychat-60902]: finalizing version…
Error: HTTP Error: 404, Not Found
versions: Node: v11.1.0 npm:6.4.1 ng:
Your global Angular CLI version (7.0.5) is greater than your local
version (1.7.4). The local Angular CLI version is used.
`
firebase:
6.1.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
I had the same error today and fixed it by upgrading to Angular 6, @angular/fire 5.1.1, rxjs 6.4.0, and typescript 2.9.2.
@vuquocan1987 I tried again with my version of package.json and worked perfectly with
npm install && ng build --prod
Perhaps you have a problem with the Angular version, did you try this? https://stackoverflow.com/questions/45207900/how-to-generate-angular-cli-json-file-in-angular-cli/