-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Version info
Angular: 9.0.0
Firebase: 7.10.0
AngularFire: 6.0.0-rc.1
How to reproduce these conditions
- Create an angular app:
ng new prerender-test
- Add @angular/fire with schematics :
ng add @angular/fire
- Add angular universal :
ng add @nguniversal/express-engine
- Add
import 'firebase/firestore';
in app.component - Run
npm run prerender
Debug output
** Errors in the JavaScript console **
** Output from firebase.database().enableLogging(true);
**
WARNING in ./node_modules/grpc/src/grpc_extension.js 32:12-33
Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/grpc/node_modules/node-pre-gyp/lib/pre-binding.js 20:22-48
Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/grpc/node_modules/node-pre-gyp/lib/util/versioning.js 17:20-67
Critical dependency: the request of a dependency is an expression
WARNING in ./node_modules/bytebuffer/dist/bytebuffer-node.js
Module not found: Error: Can't resolve 'memcpy' in './node_modules/bytebuffer/dist'
Prerendering 1 route(s) to /path/to/prerender-test/dist/browser
(node:3430) UnhandledPromiseRejectionWarning: Error: package.json does not exist at /path/to/prerender-test/dist/package.json
Expected behavior
Prerender should not fail.
Actual behavior
It fails
Metadata
Metadata
Assignees
Labels
No labels