PatrickJS-starter icon indicating copy to clipboard operation
PatrickJS-starter copied to clipboard

RxJS warnings

Open Snejk47 opened this issue 10 years ago • 2 comments

Yet another warnings. Does not stop bundling.

WARNING in ./~/rxjs/Observable.js
Cannot find source file '../../src/Observable.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Observable.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs

WARNING in ./~/rxjs/Subject.js
Cannot find source file '../../src/Subject.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Subject.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs

WARNING in ./~/rxjs/operator/toPromise.js
Cannot find source file '../../../src/operator/toPromise.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/operator/toPromise.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\operator

WARNING in ./~/rxjs/observable/fromPromise.js
Cannot find source file '../../../src/observable/fromPromise.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/observable/fromPromise.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\observable


WARNING in ./~/rxjs/Subscriber.js
Cannot find source file '../../src/Subscriber.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Subscriber.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs

WARNING in ./~/rxjs/symbol/rxSubscriber.js
Cannot find source file '../../../src/symbol/rxSubscriber.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/symbol/rxSubscriber.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\symbol

WARNING in ./~/rxjs/util/SymbolShim.js
Cannot find source file '../../../src/util/SymbolShim.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/util/SymbolShim.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\util

WARNING in ./~/rxjs/util/root.js
Cannot find source file '../../../src/util/root.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/util/root.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\util

WARNING in ./~/rxjs/scheduler/queue.js
Cannot find source file '../../../src/scheduler/queue.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/scheduler/queue.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\scheduler

WARNING in ./~/rxjs/Subscription.js
Cannot find source file '../../src/Subscription.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Subscription.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs

WARNING in ./~/rxjs/subject/SubjectSubscription.js
Cannot find source file '../../../src/subject/SubjectSubscription.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/subject/SubjectSubscription.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\subject

WARNING in ./~/rxjs/util/noop.js
Cannot find source file '../../../src/util/noop.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/util/noop.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\util

WARNING in ./~/rxjs/util/throwError.js
Cannot find source file '../../../src/util/throwError.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/util/throwError.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\util

WARNING in ./~/rxjs/util/tryOrOnError.js
Cannot find source file '../../../src/util/tryOrOnError.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/util/tryOrOnError.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\util

WARNING in ./~/rxjs/scheduler/QueueScheduler.js
Cannot find source file '../../../src/scheduler/QueueScheduler.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/scheduler/QueueScheduler.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\scheduler

WARNING in ./~/rxjs/scheduler/QueueAction.js
Cannot find source file '../../../src/scheduler/QueueAction.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/scheduler/QueueAction.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\scheduler

WARNING in ./~/rxjs/scheduler/FutureAction.js
Cannot find source file '../../../src/scheduler/FutureAction.ts': Error: Cannot resolve 'file' or 'directory' ../../../src/scheduler/FutureAction.ts in E:\Dev\angular2-webpack-starter\node_modules\rxjs\scheduler

Snejk47 avatar Jan 26 '16 08:01 Snejk47

Does anybody know how to resolve this? Cause i'm also getting those erros while bulding up a fresh app from your starter

eslotwinski avatar Jan 26 '16 13:01 eslotwinski

if you pull latest it shoulud be fixed. the problem was due to rxjs having sourcemaps https://github.com/AngularClass/angular2-webpack-starter/blob/master/webpack.config.js#L53

PatrickJS avatar Jan 26 '16 16:01 PatrickJS