Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to build #1

Open
CyrusGrimes opened this issue Jan 22, 2020 · 0 comments
Open

failed to build #1

CyrusGrimes opened this issue Jan 22, 2020 · 0 comments

Comments

@CyrusGrimes
Copy link

I got this error
` info Starting server...
info Start preparing plugin template
i 「wds」: Project is running at https://localhost:8080/webpack-dev-server/
i 「wds」: webpack output is served from /assets
i 「wds」: Content not from webpack is served from C:\pbiviz-linechart-master.tmp\drop
info Finish preparing plugin template

@babel/polyfill is deprecated. Please, use required parts of core-js
and regenerator-runtime/runtime separately
Webpack Bundle Analyzer saved report to C:\pbiviz-linechart-master\webpack.statistics.dev.html

ERROR Failed to compile with 6 errors 3:01:59 PM

These dependencies were not found:

  • core-js/modules/web.dom-collections.for-each in ./node_modules/@babel/polyfill/lib/noConflict.js
  • core-js/modules/web.dom-collections.iterator in ./node_modules/@babel/polyfill/lib/noConflict.js
  • core-js/modules/web.queue-microtask in ./node_modules/@babel/polyfill/lib/noConflict.js
  • core-js/modules/web.url in ./node_modules/@babel/polyfill/lib/noConflict.js
  • core-js/modules/web.url-search-params in ./node_modules/@babel/polyfill/lib/noConflict.js
  • core-js/modules/web.url.to-json in ./node_modules/@babel/polyfill/lib/noConflict.js

To install them, you can run: npm install --save core-js/modules/web.dom-collections.for-each core-js/modules/web.dom-collections.iterator core-js/modules/web.queue-microtask core-js/modules/web.url core-js/modules/web.url-search-params core-js/modules/web.url.to-json
× 「wdm」: Hash: 2f64a7c659b06ee19cc3
Version: webpack 4.39.2
Time: 6845ms
Built at: 01/22/2020 3:01:59 PM
Asset Size Chunks Chunk Names
..\build.tmp\precompile\visualPlugin.d.ts 217 bytes
..\build\src\core\dataTransform.d.ts 846 bytes
..\build\src\settings.d.ts 432 bytes
..\build\src\viewmodels\model.d.ts 214 bytes
..\build\src\visual.d.ts 2.36 KiB
visual.css 132 bytes 0 visual.js
visual.css.map 296 bytes 0 visual.js
visual.js 1.1 MiB 0 visual.js
visual.js.map 1.76 MiB 0 visual.js
Entrypoint visual.js = visual.css visual.js visual.css.map visual.js.map
[1] ./node_modules/d3-selection/src/index.js 895 bytes {0} [built]
[7] ./node_modules/d3-array/src/index.js 1.34 KiB {0} [built]
[8] ./node_modules/d3-time/src/index.js 1.59 KiB {0} [built]
[12] ./node_modules/d3-color/src/index.js 161 bytes {0} [built]
[24] ./node_modules/d3-interpolate/src/index.js 1.28 KiB {0} [built]
[69] ./node_modules/d3/index.js 891 bytes {0} [built]
[170] external "Function('return this')()" 42 bytes {0} [built]
[281] ./src/settings.ts 3.68 KiB {0} [built]
[365] ./src/visual.ts 6.48 KiB {0} [built]
[384] ./node_modules/powerbi-visuals-utils-svgutils/lib/index.js 361 bytes {0} [built]
[649] ./src/core/dataTransform.ts 2.22 KiB {0} [built]
[672] multi ./.tmp/precompile/visualPlugin.ts 28 bytes {0} [built]
[673] ./.tmp/precompile/visualPlugin.ts 665 bytes {0} [built]
[674] ./node_modules/@babel/polyfill/lib/index.js 686 bytes {0} [built]
[857] ./style/visual.less 39 bytes {0} [built]
+ 845 hidden modules

ERROR in ./node_modules/@babel/polyfill/lib/noConflict.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.for-each' in 'C:\pbiviz-linechart-master\node_modules@babel\polyfill\lib'
@ ./node_modules/@babel/polyfill/lib/noConflict.js 3:0-55
@ ./node_modules/@babel/polyfill/lib/index.js
@ ./src/visual.ts
@ ./.tmp/precompile/visualPlugin.ts
@ multi ./.tmp/precompile/visualPlugin.ts

ERROR in ./node_modules/@babel/polyfill/lib/noConflict.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in 'C:\pbiviz-linechart-master\node_modules@babel\polyfill\lib'
@ ./node_modules/@babel/polyfill/lib/noConflict.js 5:0-55
@ ./node_modules/@babel/polyfill/lib/index.js
@ ./src/visual.ts
@ ./.tmp/precompile/visualPlugin.ts
@ multi ./.tmp/precompile/visualPlugin.ts

ERROR in ./node_modules/@babel/polyfill/lib/noConflict.js
Module not found: Error: Can't resolve 'core-js/modules/web.queue-microtask' in 'C:\pbiviz-linechart-master\node_modules@babel\polyfill\lib'
@ ./node_modules/@babel/polyfill/lib/noConflict.js 7:0-46
@ ./node_modules/@babel/polyfill/lib/index.js
@ ./src/visual.ts
@ ./.tmp/precompile/visualPlugin.ts
@ multi ./.tmp/precompile/visualPlugin.ts

ERROR in ./node_modules/@babel/polyfill/lib/noConflict.js
Module not found: Error: Can't resolve 'core-js/modules/web.url' in 'C:\pbiviz-linechart-master\node_modules@babel\polyfill\lib'
@ ./node_modules/@babel/polyfill/lib/noConflict.js 9:0-34
@ ./node_modules/@babel/polyfill/lib/index.js
@ ./src/visual.ts
@ ./.tmp/precompile/visualPlugin.ts
@ multi ./.tmp/precompile/visualPlugin.ts

ERROR in ./node_modules/@babel/polyfill/lib/noConflict.js
Module not found: Error: Can't resolve 'core-js/modules/web.url-search-params' in 'C:\pbiviz-linechart-master\node_modules@babel\polyfill\lib'
@ ./node_modules/@babel/polyfill/lib/noConflict.js 13:0-48
@ ./node_modules/@babel/polyfill/lib/index.js
@ ./src/visual.ts
@ ./.tmp/precompile/visualPlugin.ts
@ multi ./.tmp/precompile/visualPlugin.ts

ERROR in ./node_modules/@babel/polyfill/lib/noConflict.js
Module not found: Error: Can't resolve 'core-js/modules/web.url.to-json' in 'C:\pbiviz-linechart-master\node_modules@babel\polyfill\lib'
@ ./node_modules/@babel/polyfill/lib/noConflict.js 11:0-42
@ ./node_modules/@babel/polyfill/lib/index.js
@ ./src/visual.ts
@ ./.tmp/precompile/visualPlugin.ts
@ multi ./.tmp/precompile/visualPlugin.ts
Child mini-css-extract-plugin ../Users/cgrimes/AppData/Roaming/npm/node_modules/powerbi-visuals-tools/node_modules/css-loader/dist/cjs.js!../Users/cgrimes/AppData/Roaming/npm/node_modules/powerbi-visuals-tools/node_modules/less-loader/dist/cjs.js??ref--6-2!style/visual.less:
Entrypoint mini-css-extract-plugin = *
[0] ../Users/cgrimes/AppData/Roaming/npm/node_modules/powerbi-visuals-tools/node_modules/css-loader/dist/cjs.js!../Users/cgrimes/AppData/Roaming/npm/node_modules/powerbi-visuals-tools/node_modules/less-loader/dist/cjs.js??ref--6-2!./style/visual.less 311 bytes {0} [built]
[1] ../Users/cgrimes/AppData/Roaming/npm/node_modules/powerbi-visuals-tools/node_modules/css-loader/dist/runtime/api.js 2.61 KiB {0} [built]
i 「wdm」: Failed to compile.`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant