-
Notifications
You must be signed in to change notification settings - Fork 681
Non webpack version ? #96
Comments
There is a System js version available https://github.com/angular/universal-starter/tree/systemjs |
Haven't tested it myself so I cant tell how "in sync" it is with the latest on master;P |
Thanks I see it but it's an old very that use the Maybe you can help me, the problem is that http://localhost:3000/node_modules/angular2-universal/dist/polyfills and http://localhost:3000/node_modules/angular2-universal/dist/browser/index return a 404 :(
|
Yes I think at that time Universal did not have the pollyfills inside so that does not work. I think you will have to use a newer version like the one on the master branch, where universal already publishes its own pollyfills. |
Ok thanks ! I change to use pollyfills module but no more luck, always have 404 I think my systemJS config is wrong but don't know how to make it right. Now it's look like :
|
for systemjs you can not use the polyfills helper. you would need to include it outside and before the app runs |
Thanks, in fact I don't understand systemJS I think because even with Also angular2-universal use A full up to date example would be welcome ^^ for systemjs. Here is my actual code https://github.com/jaumard/trails-angular2-isomorphic if someone want to take a look and help. I'll appreciate that ^^ it make me crazy. |
Any update on this? @jaumard where you able to figure it out? |
I'm currently trying to fix the SystemJS version for you guys (it hasn't gotten any love in a while), been very busy but hoping to have it checked in within the next few days! @gajdot @jaumard @joaogarin |
@gajdot finally I use this examples https://github.com/angular/universal/tree/master/examples/src witch working without any builders. Found them easy to understand. |
@MarkPieszak that would be awesome :) I was just about to give it up and start learning webpack xD @jaumard Thx, I'll look into that also, maybe I'll learn something valuable here and maybe I can help in the future :D |
@jaumard did you do anything special to make the example working? For me on windows I get tons and tons of errors :( |
@gajdot windows... it's evil lol no sorry I'm not on windows I just clone the repo npm i && npm start and let's go |
I still don't get it why it's so painful to code on windows... The tools would be much more preferable, but the open source stuff is just killing... I'll try it on a virtual machine then later today |
@gajdot The actual Universal repo itself isn't working on Windows yet, I'm also working on that, a little over 1/2 way done there. There is an underlying huge issue with |
Hehe, ok @MarkPieszak, so you're my savior then? :D Till you can fix any of the two underlying issue then, I'll start working with the main repo on a linux VM so at least I can learn something, maybe in the future I'll be able to help. |
Wow, the build is dark and full of errors :D @jaumard I just tried to run the build on Ubuntu with latest node, npm etc. Well I never saw so many errors in one build process without crashing the build. In the end it completed, but it's still not working with a simple install and start command for me. Did you do anything special to make the example working? |
@gajdot I never use latest node because half of all node modules are not compatible with it ^^ I use last v4 and last v5 and no problem. EDIT: I just try with latest version of the master and it's doesn't work anymore
|
FYI, the alternative to webpack is systemjs and that effort is being tracked here: |
Hi,
I'm trying to use this starter repo to start with Angular2 and server rendering. I didn't know webpack at all and don't want to learn it (found it too difficult to configure...).
Do you plan to do a version without it ? Maybe with gulp ?
My problem is that webpack is bundle
client
andserver
in one file. I use another framework to replace Express witch cannot be bundle easily (and don't want to bundle it anyway). I can't manage to replace webpack with gulp and have something who compile :(The text was updated successfully, but these errors were encountered: