These are chat archives for systemjs/systemjs

30th
Aug 2015
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:28
@eyalsk Tricky one. Does the problem go away if you move the files to localhost:5000?
(and change your basepath back to default)
Eyal Solnik
@eyalsk
Aug 30 2015 06:29
you mean like if I serve the files locally as opposed to remotely?
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:29
Yeah
Eyal Solnik
@eyalsk
Aug 30 2015 06:29
yeah then it works haha
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:30
Hmm...
Eyal Solnik
@eyalsk
Aug 30 2015 06:30
yeah speaking about complex structures and edge-cases... I don't have enough knowledge about SystemJS so I can't even fix it
I'm stuck ^^
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:31
Oh. It has nothing to do with the base path.
You have a typo: "aurelia/bootstrapper": "github:aurelia/bootstrapper@0.16.0",
Eyal Solnik
@eyalsk
Aug 30 2015 06:31
but as far as I understood JSPM and SystemJS were built to handle this case
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:31
Should be "aurelia-bootstrapper": "github:aurelia/bootstrapper@0.16.0",
- instead of /
Because you do System.import("aurelia-bootstrapper");
Eyal Solnik
@eyalsk
Aug 30 2015 06:32
in the config file?
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:32
Yeah.
Eyal Solnik
@eyalsk
Aug 30 2015 06:32
okay! nao I didn't even though the config file
manually
I did everything through cli
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:32
How did you install Aurelia?
Eyal Solnik
@eyalsk
Aug 30 2015 06:32
so there's a bug there?
JSPM
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:32
jspm install aurelia-bootstrapper?
Eyal Solnik
@eyalsk
Aug 30 2015 06:32
yup
So we find a bug?
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:33
That has worked for me many times, always putting a -.
See if you can figure out how to reproduce it.
Eyal Solnik
@eyalsk
Aug 30 2015 06:33
let's check
Micah Zoltu
@MicahZoltu
Aug 30 2015 06:33
mkdir test
cd test
npm init
npm install jspm
node_modules/.bin/jspm install aurelia-bootstrapper
That should work.
(assuming you have npm on your path)
Eyal Solnik
@eyalsk
Aug 30 2015 06:34
yeah :D
first I'll try to change the path in the config and see whether it will work
then I'll try to run that and see if I can reproduce that
okay I changed that and still, I'm getting more errors
Eyal Solnik
@eyalsk
Aug 30 2015 06:42
Yeah, okay I see that when I'm creating it the way you posted it works perfectly fine with the correct paths
Rob Wormald
@robwormald
Aug 30 2015 07:10
@simonh1000 you should put a catch on your system.import
that would give you some indication of why its blowing up i imagine
Simon Hampton
@simonh1000
Aug 30 2015 17:24
@robwormald thanks for the idea, but there seems to be no error caught. Simply nothing happens - the command is found and presumably run but nothing actually happens
James Campos
@aeosynth
Aug 30 2015 22:42
should i bundle react into my app or load it from a cdn? bundling a 100k+ lib seems odd
Micah Zoltu
@MicahZoltu
Aug 30 2015 22:45
My recommendation is to bundle and then put your site behind something like CloudFlare.
Rob Wormald
@robwormald
Aug 30 2015 22:46
or have a couple of bundles
Micah Zoltu
@MicahZoltu
Aug 30 2015 22:47
Well, I imagine the issue is that the response time from a CDN is faster than whatever his hosting provider likely gives.
Which is why I suggest putting your entire site on a CDN.
Not just the common pieces.
My app runs in Azure which doesn't have the greatest worldwide response times. However, the whole thing is cached by CloudFlare which gives me very fast global response times and bandwidth for my static content. Only the API calls have to actually go all the way to Azure.
Rob Wormald
@robwormald
Aug 30 2015 22:52
how do you like azure generally
Micah Zoltu
@MicahZoltu
Aug 30 2015 22:56
Less management required than AWS in my experience.
Though, I mainly use Web Applications and Web Jobs.
And some of the data stores.
In general, my goal is to not have to know anything about how it is all hosted so I can focus on my business logic and building applications that scale horizontally.
With AWS I found that I had to understand too much and nothing just magically worked like it does with Visual Studio & Azure integrations.
Rob Wormald
@robwormald
Aug 30 2015 22:57
yeah, i can see it being well integrated if you're on windows
Micah Zoltu
@MicahZoltu
Aug 30 2015 22:58
To be fair: I have an MSDN Pro subscription which gives me $50 in Azure / month for free, so while working on my new project cost hasn't been considered much at all.
I would argue that the new Azure Portal is more user friendly than AWS. Every time I login to AWS I am always confused as to what I am looking at or where to find things.
So even if I was developing on Linux/MacOS X I may still choose Azure...
Rob Wormald
@robwormald
Aug 30 2015 22:59
AWS's console is pretty extreme
Micah Zoltu
@MicahZoltu
Aug 30 2015 23:00
Yeah. It has everything right in front of you. Azure does a good job of putting the bits I care about in front of me and letting me customize each of the screens with bits I find important.
That being said, I'm guessing AWS Java integration is better than Azure Java integration. If I wasn't on Windows I probably wouldn't be writing .NET which means I would have to consider the ease of deployment.
I don't know why I would ever be in that situation though. :P
I write Java at work now and it kills me knowing that C# is out there about 5 years ahead of Java in terms of language and BCL features.
Yet I am stuck writing in a language that feels like it is from so long ago.
C# just got string interpolation while Java still doesn't even have verbatim strings. :(
Micah Zoltu
@MicahZoltu
Aug 30 2015 23:05
Sorry about the rant.