Is Angular 2 supported?
See original GitHub issueGood evening!
Is it possible to use Angular 2 (2.0.0-beta.0) in nw? Have you got any experience with it?
When I use Angular 2 with lite server it works. If I use it inside NW it will broke. Polyfills wanted to use websockets, maybe that is the missing part? Is it replaceable?
I’m trying with these files (copied from Angular’s docs):
<script src="node_modules/angular2/bundles/angular2-polyfills.js"></script>
<script src="node_modules/rxjs/bundles/Rx.umd.js"></script>
<script src="node_modules/angular2/bundles/angular2-all.umd.js"></script>
Any advice is more than welcomed. Thanks.
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Angular versioning and releases
Actively supported versionslink The following table provides the status for Angular versions under support. Angular versions v2 to v12 are no longer under...
Read more >Angular Version List & History – Angular 2,4,5,6,7,8 - Guru99
Still supported but no longer will be developed. It's updated version regularly released because of Semantic Versioning. ; The architecture of ...
Read more >AngularJS vs. Angular 2 Vs. Angular 4: Key Differences
Angular 4 is compatible with the most recent versions of TypeScript that have powerful type checking and object-oriented features. 3. Expression ...
Read more >Angular - endoflife.date
Release Released Active Support
15 1 month and 1 week ago. (16 Nov 2022) Ends in 4 months and 3 weeks. (18 M...
14 (...
Read more >Difference Among Angular 8, 7, 6, 5, 4, 3, 2 - Medium
Angular 5 supports TypeScript 2.3 version. Improved in faster Compiler support: A huge improvement made in an Angular compiler to make the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kisPocok Your sample has 2 problems: 1.
package.json
is not a valid JSON. There is a trailing comma in the “scripts” fields. 2.app.Subtitle
doesn’t exist.The problem to use Angular in NW is that Angular is going to create variable
global
which is already created by NW. That will affect the exception handling for Angular, so that you won’t see any error messages when loading your app. A workaround is that you can renameglobal
to anything else, likenw_global
before loading any Angular libraries. For example,@ghostoy will u please open a wiki to intro how to start up nwjs with angular2/vue/react.
yo
is much more prefer.