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.

Can't resolve 'd3-format' in

See original GitHub issue

I’m submitting a … (check one with “x”)

[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior Error when building the app using this module:

/~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-format' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:27-47
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-array' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:141-160
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-brush' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:162-181
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-color' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:183-202
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-force' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:204-223
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-hierarchy' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:257-280
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-interpolate' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:282-307
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-scale' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:309-328
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-selection' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:330-353
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-shape' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:355-374
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-time-format' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:376-401
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
2client?ffdb:41 [WDS] App updated. Recompiling...
client?ffdb:41 [WDS] Errors while compiling. Reload prevented.
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-format' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:27-47
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-array' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:141-160
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-brush' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:162-181
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-color' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:183-202
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-force' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:204-223
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-hierarchy' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:257-280
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-interpolate' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:282-307
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-scale' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:309-328
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-selection' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:330-353
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-shape' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:355-374
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-time-format' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:376-401
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
2client?ffdb:41 [WDS] App updated. Recompiling...
client?ffdb:41 [WDS] Errors while compiling. Reload prevented.
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-format' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:27-47
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-array' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:141-160
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-brush' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:162-181
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-color' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:183-202
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-force' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:204-223
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-hierarchy' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:257-280
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-interpolate' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:282-307
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-scale' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:309-328
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-selection' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:330-353
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-shape' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:355-374
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
errors @ client?ffdb:119
sock.onmessage @ socket.js:37
EventTarget.dispatchEvent @ eventtarget.js:51
(anonymous) @ main.js:274
SockJS._transportMessage @ main.js:272
EventEmitter.emit @ emitter.js:50
WebSocketTransport.ws.onmessage @ websocket.js:35
wrapFn @ zone.js:1056
ZoneDelegate.invokeTask @ zone.js:424
Zone.runTask @ zone.js:191
ZoneTask.invoke @ zone.js:486
client?ffdb:119 ./~/@swimlane/ngx-charts/release/index.js
Module not found: Error: Can't resolve 'd3-time-format' in 'c:\xampp\htdocs\iot2\node_modules\@swimlane\ngx-charts\release'
 @ ./~/@swimlane/ngx-charts/release/index.js 8:376-401
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

Expected behavior Build success

Reproduction of the problem Just installing and importing the module

What is the motivation / use case for changing the behavior? Bug fix

Please tell us about your environment: windows,npm, latest angular (4)

  • ngx-charts version: 5.3.1

  • Angular version: 4.1.2

  • Browser: All

  • Language: TypeScript

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

12reactions
dcasiercommented, Jun 12, 2017

npm install --save d3 ?

5reactions
joaogarincommented, Jun 20, 2017

I reinstalled d3 and it worked…so might have been some caching issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

d3-format - npm
Start using d3-format in your project by running `npm i d3-format`. There are 716 other projects in the npm registry using d3-format.
Read more >
Webpack doesn't resolve imports of JSON files from D3 ...
I have an Angular app built with Webpack that imports locale JSON files from the d3-format package:
Read more >
React D3 Library
A JavaScript library that allows developers the ability to use D3 in React. Get Started ». Virtual DOM. All of your D3 will...
Read more >
D3 6.0 - Observable
Here is a list of notable changes in the D3@6 modules (details below):. d3-array @2.6.0: new group and rollup methods; new array methods....
Read more >
How to use the d3-format.format function in d3-format - Snyk
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
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