Comments (4)
Can you share a repository which reproduce your issue? I will investigate it as soon as possible.
from angular-universal.
@bolota
I think that issue is due to the ng-bootstrap package on server side: it seems to be include in the bundle.
Which is the file which throws that exception? Is it a file under the ng-bootstrap package?
from angular-universal.
Hey I am getting the same error
rshith\my-project\node_modules\@angular\fire\bundles\messaging.umd.js:23
var requireMessaging = rxjs.from(import('firebase/messaging'));
^^^^^^
SyntaxError: Unexpected token import
from angular-universal.
Where this error is displayed: in the server or browser side?
Can you try to set option bundleDependencies
to "all"
in your browser or server target (depends where your error appears) configuration in the angular.json
?
if you're not familiarise with the angular.json
format: you can found example in this comment.
from angular-universal.
Related Issues (20)
- [question] now.sh deployment HOT 4
- window is not defined AND localStorage is not defined errors in terminal HOT 10
- How to keep state across module reloads HOT 2
- Could not find the implementation for builder udk:udk-builder HOT 4
- typo in udk.container.js
- npm start has 'SyntaxError: Unexpected string' on main.server.ts HOT 4
- HMR not working correctly - entire app reloads on change HOT 4
- Does HMR only replace module HOT 4
- changes are not reflected in server build HOT 3
- TransferStateModule not being used HOT 3
- What is the difference between this repo and angular/universal-starter ? HOT 2
- error with current build HOT 5
- Lazy loading modules does not work with new syntax HOT 9
- Does this project offer HMR and SSR simultaneously? HOT 4
- Error with latest master HOT 3
- Support for Angular 11 HOT 6
- assets folder is not copied to dist/app/browser HOT 2
- lazy load module not working in server side HOT 4
- What happened with the commit history? HOT 3
- Can't bind to 'errorImage' since it isn't a known property of 'img'. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-universal.