-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
needs: more infoReporter must clarify the issueReporter must clarify the issue
Description
Created App By ng new, successfull, but running by ng serve always a pain
ERROR in multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
Module not found: Error: Can't resolve 'webpack-dev-server/client?http://localho
st:4200' in 'D:\javascript\angular2\HelloWord'
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
ERROR in multi ./src/styles.css
Module not found: Error: Can't resolve 'style-loader' in 'D:\javascript\angular2
\HelloWord'
@ multi ./src/styles.css
ERROR in multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
Module not found: Error: Can't resolve '@ngtools/webpack' in 'D:\javascript\angu
lar2\HelloWord'
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
ERROR in multi ./src/polyfills.ts
Module not found: Error: Can't resolve '@ngtools/webpack' in 'D:\javascript\angu
lar2\HelloWord'
@ multi ./src/polyfills.ts
ERROR in Error: Child compilation failed:
Entry module not found: Error: Can't resolve 'raw-loader' in 'D:\javascript\an
gular2\HelloWord':
Error: Can't resolve 'raw-loader' in 'D:\javascript\angular2\HelloWord'
- compiler.js:76
[HelloWord]/[cli]/[html-webpack-plugin]/lib/compiler.js:76:16
- Compiler.js:280 Compiler.<anonymous>
[HelloWord]/[cli]/[webpack]/lib/Compiler.js:280:10
- Compiler.js:480
[HelloWord]/[cli]/[webpack]/lib/Compiler.js:480:13
- Tapable.js:138 next
[HelloWord]/[cli]/[webpack]/[tapable]/lib/Tapable.js:138:11
- CachePlugin.js:62 Compiler.<anonymous>
[HelloWord]/[cli]/[webpack]/lib/CachePlugin.js:62:5
- Tapable.js:142 Compiler.applyPluginsAsyncSeries
[HelloWord]/[cli]/[webpack]/[tapable]/lib/Tapable.js:142:13
- Compiler.js:477
[HelloWord]/[cli]/[webpack]/lib/Compiler.js:477:10
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
[HelloWord]/[cli]/[webpack]/[tapable]/lib/Tapable.js:131:46
- Compilation.js:640 self.applyPluginsAsync.err
[HelloWord]/[cli]/[webpack]/lib/Compilation.js:640:19
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
[HelloWord]/[cli]/[webpack]/[tapable]/lib/Tapable.js:131:46
- Compilation.js:631 self.applyPluginsAsync.err
[HelloWord]/[cli]/[webpack]/lib/Compilation.js:631:11
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
[HelloWord]/[cli]/[webpack]/[tapable]/lib/Tapable.js:131:46
- Compilation.js:626 self.applyPluginsAsync.err
[HelloWord]/[cli]/[webpack]/lib/Compilation.js:626:10
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
[HelloWord]/[cli]/[webpack]/[tapable]/lib/Tapable.js:131:46
- Compilation.js:622 sealPart2
[HelloWord]/[cli]/[webpack]/lib/Compilation.js:622:9
- Tapable.js:131 Compilation.applyPluginsAsyncSeries
[HelloWord]/[cli]/[webpack]/[tapable]/lib/Tapable.js:131:46
webpack: Failed to compile.
Versions.
@angular/cli: 1.0.0-rc.2
node: 6.9.2
os: win32 x64
@angular/common: 2.4.9
@angular/compiler: 2.4.9
@angular/core: 2.4.9
@angular/forms: 2.4.9
@angular/http: 2.4.9
@angular/platform-browser: 2.4.9
@angular/platform-browser-dynamic: 2.4.9
@angular/router: 3.4.9
@angular/cli: 1.0.0-rc.2
@angular/compiler-cli: 2.4.9
Metadata
Metadata
Assignees
Labels
needs: more infoReporter must clarify the issueReporter must clarify the issue