You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\harshith\my-project\node_modules\@angular\fire\bundles\messaging.umd.js:23
var requireMessaging = rxjs.from(import('firebase/messaging'));
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:617:28)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object.@angular/fire/messaging (D:\harshith\my-project\dist\app\server\main.js:20508:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node ./dist/app/server/main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\harsh\AppData\Roaming\npm-cache\_logs\2018-12-19T10_52_54_129Z-debug.log
** Output from firebase.database().enableLogging(true); **
** Screenshots **
Expected behavior
the server should start
Actual behavior
It's showing this error
The text was updated successfully, but these errors were encountered:
Version info
Angular: 7.1.0
Firebase:5.7.0
AngularFire:5.1.1
How to reproduce these conditions
Clone the angular universal 7 repo install firebase and angular fire and do the build process
Steps to set up and reproduce
Debug output
** Errors in the JavaScript console **
** Output from
firebase.database().enableLogging(true);
**** Screenshots **
Expected behavior
the server should start
Actual behavior
It's showing this error
The text was updated successfully, but these errors were encountered: