Can't resolve 'd3-format' in
See original GitHub issueI’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:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
npm install --save d3 ?
I reinstalled d3 and it worked…so might have been some caching issue.