question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Can't resolve 'webpack-dev-server/client?http://0.0.0.0:0' [1.7]

See original GitHub issue

Versions

Angular CLI: 1.7.0
Node: 8.9.4
OS: linux x64
Angular: 5.2.5
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cdk: 5.2.1
@angular/cli: 1.7.0
@angular/flex-layout: 2.0.0-beta.12
@angular/material: 5.2.1
@angular-devkit/build-optimizer: 0.3.1
@angular-devkit/core: 0.3.1
@angular-devkit/schematics: 0.3.1
@ngtools/json-schema: 1.2.0
@schematics/angular: 0.3.1
@schematics/package-update: 0.3.1
typescript: 2.4.2
webpack-node-externals: 1.6.0
webpack: 3.10.0

Repro steps

Havn’t got a repro sorry 😕

Observed behavior

ERROR in multi webpack-dev-server/client?http://0.0.0.0:0 ./path/to/main.ts
Module not found: Error: Can't resolve 'webpack-dev-server/client?http://0.0.0.0:0' in '/home/f.wiles/Documents/projectname'

Mention any other details that might be useful (optional)

This is a medium sized project using yarn as the package manager

$ npm ls webpack-dev-server
projectname@0.0.0 /home/f.wiles/Documents/project-name
└─┬ @angular/cli@1.7.0
     └── webpack-dev-server@2.11.1

I’ve also tried deleting both yarn.lock and node_modules but the same error is observed

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

5reactions
SpeedoPasanencommented, Feb 16, 2018

Just upgraded everything in an app that worked on previous versions, and got the same error. Easy to repro, just run ng new test-app and ng serve. Work-around: install @angular/cli@1.6.8 and hope 1.7.1 has better luck. 😃

3reactions
razvalexcommented, Feb 20, 2018

I had the same issue and it got resolved after i manually re-run npm install @angular/cli@1.7.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

isp none sm3267aes - CSDN
使用github中KFERMercer/OpenWrt-CI的actions脚本的对比P3TERX/Actions-OpenWrt的好处是可以自定义编译架构,自定义编译插件。KFERMercer/OpenWrt-CI的actions脚本为了 ...
Read more >
Motorola Vip19x0 (Big brother of Vip1710) - Mikrocontroller.net
I am facing with the problem of lack of video output selection in VIP 1963 STB (from KPN, currently running by my local...
Read more >
Full text of "Nmap Network Scanning The ... - Internet Archive
Does the client understand that even a simple port scan could bring down a server or router? Are you allowed to perform a...
Read more >
Comandos Do Terminal Mac | PDF | Sistema operacional
Encontrou algum erro no livro ou tem alguma sugestão? ... 1.7 Movimentação no terminal . ... diskmanagementd(8) - DiskManagement.framework server
Read more >
Mac3: YUU MEDIA TOWN@Blog Archives
☆Mac mini (Late 2014)のMac OS X v10.11.6(OS X El Capitan)(OS X Server 5.2) ... は、次のサイトを参照してください: https://support.apple.com/kb/HT201222」
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found