Did you resolve this somehow?  I'm seeing the same problem.

I'm using angular-2.0.0.3rc3, typescript, ng-cli, and am on a Mac.

So ng-cli compiles the ts to .js and .js.map.  The .js.map seems to have a 
reference to the .ts file.  For example, the beginning of one .js.map file 
is:
{"version":3,"file":"Subscriber.js","sourceRoot":"","sources":["src/Subscriber.ts"],

It appears that this source file is being attempted to be fetched but it is 
not there which throws the error in the console (if it is open) and finally 
a timeout Exception.

What is the right way to do this to avoid the error?

p.s. Mike, The map files are loaded only in the dev console.  So if you 
don't have it open, the page should load faster.  I'm seeing that behavior, 
but are you also?

On Wednesday, 29 June 2016 22:24:05 UTC+5:30, mike wrote:
>
> My Angular2 app takes FOREVER to load.  I need help.
>
> I'm using RC3 (beta-17 works w/out these issues) and tried the advice from 
> others:
>
> https://groups.google.com/forum/#!searchin/angular/too$20many$20requests/angular/PQmXB5-aeV4/KindJHqSGgAJ
>
> https://github.com/angular/angular/issues/8717#issuecomment-220359530
>
> http://stackoverflow.com/questions/37881825/using-rxjs-umd-bundles
>
>
> my systemJS config is similar.  I tried loading rxjs directly via <script> 
> as well.
> still no matter what, rxjs requests come as individual requests:
>
> GET http://localhost:8000/node_modules/rxjs/util/not.js
> 304 Not Modified
> 487ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/observable/ScalarObservable.js
> 304 Not Modified
> 453ms 
> zone.js (line 101)
> GET 
> http://localhost:8000/node_modules/rxjs/observable/SubscribeOnObservable.js
> 304 Not Modified
> 444ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/scheduler/AsapAction.js
> 304 Not Modified
> 376ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/scheduler/FutureAction.js
> 304 Not Modified
> 372ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/scheduler/QueueAction.js
> 304 Not Modified
> 367ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/util/isPromise.js
> 304 Not Modified
> 208ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/InnerSubscriber.js
> 304 Not Modified
> 206ms 
> zone.js (line 101)
> GET 
> http://localhost:8000/node_modules/rxjs/observable/IteratorObservable.js
> 304 Not Modified
> 193ms 
> zone.js (line 101)
> GET 
> http://localhost:8000/node_modules/rxjs/observable/ArrayLikeObservable.js
> 304 Not Modified
> 192ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/util/isNumeric.js
> 304 Not Modified
> 183ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/util/MapPolyfill.js
> 304 Not Modified
> 164ms 
> zone.js (line 101)
> GET http://localhost:8000/node_modules/rxjs/util/Immediate.js
> 304 Not Modified
> 142ms 
> zone.js (line 101)
>
> Also, slowing things down, I am seeing a bunch of requests for .map files 
> (from my server) that are not correct:
> any idea how to fix these? 
>
> default handler, request to route 
> /node_modules/systemjs/dist/observable.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/toSubscriber.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/Subscriber.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/isFunction.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/Subscription.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/isArray.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/isObject.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/tryCatch.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/errorObject.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/UnsubscriptionError.js.map
>
> default handler, request to route 
> /node_modules/systemjs/dist/rxSubscriber.js.map
>
> thanks so much !!!!
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to