Skip to content

Warnings and Errors when running npm start on Windows 10 #1

Description

@PureCognition

I got the following when I ran 'npm start':
C:\Projects\Simple-NG-Webpack-Example>npm start

angular2-quickstart@1.0.0 start C:\Projects\Simple-NG-Webpack-Example
webpack=dev webpack-dev-server --inline --progress --colors

10% 0/2 build modulests-loader: Using typescript@1.7.5 and C:\Projects\Simple-NG-Webpack-Example\tsconfig.json
Hash: 7e16549a6c949affd83e
Version: webpack 1.12.12
Time: 11264ms
Asset Size Chunks Chunk Names
app.bundle.js 1.31 MB 0 [emitted] app
main.bundle.js 1.3 MB 1 [emitted] main
app.map 2.1 MB 0 [emitted] app
main.map 1.61 MB 1 [emitted] main
+ 426 hidden modules

WARNING in ..//express/lib/view.js
Critical dependencies:
78:29-56 the request of a dependency is an expression
@ ../
/express/lib/view.js 78:29-56

WARNING in ../~/rxjs/Observable.js
Cannot find source file '../../src/Observable.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Observable.ts in C:\Projects\Simple-NG-Webpack-Example\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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs

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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\observable

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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\operator

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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\util

WARNING in ../~/rxjs/Subscription.js
Cannot find source file '../../src/Subscription.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Subscription.ts in C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs

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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\util

WARNING in ../~/rxjs/Subscriber.js
Cannot find source file '../../src/Subscriber.ts': Error: Cannot resolve 'file' or 'directory' ../../src/Subscriber.ts in C:\Projects\Simple-NG-Webpack-Example\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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\symbol

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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\subject

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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\scheduler

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 C:\Projects\Simple-NG-Webpack-Example\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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\util

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 C:\Projects\Simple-NG-Webpack-Example\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 C:\Projects\Simple-NG-Webpack-Example\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 C:\Projects\Simple-NG-Webpack-Example\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 C:\Projects\Simple-NG-Webpack-Example\node_modules\rxjs\scheduler

ERROR in Entry module not found: Error: Cannot resolve module 'dev' in C:\Projects\Simple-NG-Webpack-Example/src

ERROR in ..//webpack-dev-server/lib/Server.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\webpack-dev-server\lib
@ ../
/webpack-dev-server/lib/Server.js 1:9-22

ERROR in ..//serve-index/index.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\serve-index
@ ../
/serve-index/index.js 20:9-22

ERROR in ..//sockjs/lib/sockjs.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\sockjs\lib
@ ../
/sockjs/lib/sockjs.js 10:7-20

ERROR in ..//sockjs/lib/webjs.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\sockjs\lib
@ ../
/sockjs/lib/webjs.js 9:7-20

ERROR in ..//mime/mime.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\mime
@ ../
/mime/mime.js 2:9-22

ERROR in ..//express/lib/request.js
Module not found: Error: Cannot resolve module 'net' in C:\Projects\Simple-NG-Webpack-Example\node_modules\express\lib
@ ../
/express/lib/request.js 18:11-25

ERROR in ..//express/lib/view.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\express\lib
@ ../
/express/lib/view.js 18:9-22

ERROR in ..//send/index.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\send
@ ../
/send/index.js 25:9-22

ERROR in ..//etag/index.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\etag
@ ../
/etag/index.js 22:12-25

ERROR in ..//faye-websocket/lib/faye/websocket/client.js
Module not found: Error: Cannot resolve module 'net' in C:\Projects\Simple-NG-Webpack-Example\node_modules\faye-websocket\lib\faye\websocket
@ ../
/faye-websocket/lib/faye/websocket/client.js 2:13-27

ERROR in ..//faye-websocket/lib/faye/websocket/client.js
Module not found: Error: Cannot resolve module 'tls' in C:\Projects\Simple-NG-Webpack-Example\node_modules\faye-websocket\lib\faye\websocket
@ ../
/faye-websocket/lib/faye/websocket/client.js 3:13-27

ERROR in ..//destroy/index.js
Module not found: Error: Cannot resolve module 'fs' in C:\Projects\Simple-NG-Webpack-Example\node_modules\destroy
@ ../
/destroy/index.js 14:17-30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions