figma / plugin-samples

🔌 Sample Figma plugins.
https://www.figma.com/plugin-docs
MIT License
1.5k stars 312 forks source link

Vue Sample error #18

Closed artificial-cassiano closed 3 years ago

artificial-cassiano commented 4 years ago

I'm running into this problem after cloning and running the build script on Vue Sample project

$ npm run build

> linktree@ build /Users/cassiano/Downloads/plugin-samples-master/vue
> webpack --mode=production

Hash: a8e004ca502fac76cfcc
Version: webpack 4.41.0
Time: 1396ms
Built at: 07/20/2020 2:15:48 PM
  Asset      Size  Chunks             Chunk Names
main.js  1.24 KiB       0  [emitted]  main
ui.html  99.6 KiB          [emitted]  
  ui.js  99.5 KiB       1  [emitted]  ui
Entrypoint ui = ui.js
Entrypoint main = main.js
[0] ./node_modules/style-loader/dist!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=css& 552 bytes {1} [built]
[2] ./src/logo.svg 293 bytes {1} [built]
[3] ./src/App.vue?vue&type=style&index=0&lang=css& 544 bytes {1} [built]
[4] ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=css& 1010 bytes {1} [built]
[7] (webpack)/buildin/global.js 472 bytes {1} [built]
[8] ./src/code.ts 1.39 KiB {0} [built]
[9] ./src/ui.js + 6 modules 6 KiB {1} [built]
    | ./src/ui.js 158 bytes [built]
    | ./src/App.vue 1.12 KiB [built]
    | ./src/App.vue?vue&type=template&id=7ba5bd90& 195 bytes [built]
    | ./src/App.vue?vue&type=script&lang=js& 248 bytes [built]
    | ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=template&id=7ba5bd90& 1.2 KiB [built]
    | ./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js& 476 bytes [built]
    |     + 1 hidden module
    + 3 hidden modules
Child html-webpack-plugin for "ui.html":
     1 asset
    Entrypoint undefined = ui.html
    [0] ./node_modules/html-webpack-plugin/lib/loader.js!./src/ui.html 216 bytes {0} [built]
    [2] (webpack)/buildin/global.js 472 bytes {0} [built]
    [3] (webpack)/buildin/module.js 497 bytes {0} [built]
        + 1 hidden module

node v13.9.0 npm 6.13.7 MacOS Catalina 10.15.4 (19E287) MacBook Pro (16-inch, 2019), 2.6 GHz 6-Core Intel Core i7 16 GB 2667 MHz DDR4

adispezio commented 3 years ago

Removing the Vue sample for now so we can address some underlying bundler updates. Please reopen as a new issue if you're still looking for a Vue sample!