KittenBot / Kittenblock

BSD 3-Clause "New" or "Revised" License
79 stars 57 forks source link

can't webpack #1

Open danie1Lin opened 7 years ago

danie1Lin commented 7 years ago

can't webpack my error message

`ERROR in Error: Child compilation failed: Entry module not found: Error: Cannot resolve 'file' or 'directory' C:\Users\daniel\Documents\GitHub\scratch\KittenbotGui\i ndex.html in C:\Users\daniel\Documents\GitHub\scratch\KittenbotGui: Error: Cannot resolve 'file' or 'directory' C:\Users\daniel\Documents\GitHub\scratch\KittenbotGui\index.html in C:\Users\da niel\Documents\GitHub\scratch\KittenbotGui

Child html-webpack-plugin for "index.html":

ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory' C:\Users\daniel\Documents\GitHub\scratch\Kit

tenbotGui\index.html in C:\Users\daniel\Documents\GitHub\scratch\KittenbotGui`

xmeow commented 7 years ago

Did your npm install complete normally, or have you clone the kittenblock-pc depends into root folder?

llv5 commented 6 years ago

I have the same problem. Have you solved it?

yexianli commented 6 years ago

I have the same problem. Have you solved it?

cshaa commented 5 years ago

I have the same problem. My log:

m93a@m93a $ yarn webpack
yarn run v1.17.3
$ ~/Dokumenty/Kittenblock/node_modules/.bin/webpack
Hash: aec97eb5190f63f7f4fd
Version: webpack 1.13.2
Time: 14002ms
                                                Asset       Size  Chunks             Chunk Names
                         media/icons/control_wait.svg    1.14 kB          [emitted]  
                 f4769f9bdb7466be65088239c12046d1.eot    20.1 kB          [emitted]  
                fa2772327f55d8198301fdb8bcfc8158.woff    23.4 kB          [emitted]  
                 e18bbf611f2a2e43afc071aa2f4e1512.ttf    45.4 kB          [emitted]  
                 89889688147bd7575d6327160d64e760.svg     109 kB          [emitted]  
                 76a342169e90e0b459e48ed02eefa11a.png    2.38 kB          [emitted]  
                 d733f433a03f4e873a0b5430bf9681fb.png    1.98 kB          [emitted]  
                 674f50d287a8c48dc19ba404d20fe713.eot     166 kB          [emitted]  
               af7ae505a9eed503f8b8e6982036873e.woff2    77.2 kB          [emitted]  
                fee66e712a8a08eef5805a46892932ad.woff      98 kB          [emitted]  
                 b06871f281fee6b241d60582ae9369b9.ttf     166 kB          [emitted]  
                 912ec66d7572ff821749319396470bde.svg     444 kB          [emitted]  
                 970e4e9a8658fe6b5866ce733242100b.png    3.03 kB          [emitted]  
                 c60109f629015e17bafc286da513cec4.png     3.2 kB          [emitted]  
                                               gui.js    5.16 MB       0  [emitted]  gui
                                           lib.min.js     722 kB       1  [emitted]  lib
                                           index.html    3.19 kB          [emitted]  
                                        media/1x1.gif   43 bytes          [emitted]  
                                    media/c_arrow.svg    2.44 kB          [emitted]  
                                      media/click.wav    49.9 kB          [emitted]  
                                     media/delete.wav    40.1 kB          [emitted]  
                        media/dropdown-arrow-dark.svg  573 bytes          [emitted]  
                             media/dropdown-arrow.svg  569 bytes          [emitted]  
                                 media/handclosed.cur  326 bytes          [emitted]  
                                 media/handdelete.cur  766 bytes          [emitted]  
                                   media/handopen.cur  198 bytes          [emitted]  
                                    media/sprites.png    4.15 kB          [emitted]  
                                    media/sprites.svg    1.77 kB          [emitted]  
                             media/turnleft_arrow.png  353 bytes          [emitted]  
                            media/turnright_arrow.png  344 bytes          [emitted]  
                      media/icons/control_forever.svg    4.67 kB          [emitted]  
                       media/icons/control_repeat.svg    1.99 kB          [emitted]  
                         media/icons/control_stop.svg  301 bytes          [emitted]  
               448c34a56d699c29117adc64c43affeb.woff2      18 kB          [emitted]  
                 media/icons/event_broadcast_blue.svg    1.65 kB          [emitted]  
                media/icons/event_broadcast_coral.svg    1.66 kB          [emitted]  
                media/icons/event_broadcast_green.svg    1.66 kB          [emitted]  
              media/icons/event_broadcast_magenta.svg    1.66 kB          [emitted]  
               media/icons/event_broadcast_orange.svg    1.66 kB          [emitted]  
               media/icons/event_broadcast_purple.svg    1.65 kB          [emitted]  
   media/icons/event_when-broadcast-received_blue.svg    1.65 kB          [emitted]  
  media/icons/event_when-broadcast-received_coral.svg    1.65 kB          [emitted]  
  media/icons/event_when-broadcast-received_green.svg    1.65 kB          [emitted]  
media/icons/event_when-broadcast-received_magenta.svg    1.66 kB          [emitted]  
 media/icons/event_when-broadcast-received_orange.svg    1.66 kB          [emitted]  
 media/icons/event_when-broadcast-received_purple.svg    1.65 kB          [emitted]  
                media/icons/event_whenflagclicked.svg  634 bytes          [emitted]  
                         media/icons/set-led_blue.svg    2.04 kB          [emitted]  
                        media/icons/set-led_coral.svg    2.04 kB          [emitted]  
                        media/icons/set-led_green.svg    2.04 kB          [emitted]  
                      media/icons/set-led_magenta.svg    2.04 kB          [emitted]  
                      media/icons/set-led_mystery.svg    2.96 kB          [emitted]  
                       media/icons/set-led_orange.svg    2.04 kB          [emitted]  
                       media/icons/set-led_purple.svg    2.04 kB          [emitted]  
                        media/icons/set-led_white.svg    2.04 kB          [emitted]  
                       media/icons/set-led_yellow.svg    2.04 kB          [emitted]  
                 media/icons/wedo_motor-clockwise.svg    3.75 kB          [emitted]  
          media/icons/wedo_motor-counterclockwise.svg    3.73 kB          [emitted]  
                media/icons/wedo_motor-speed_fast.svg    4.33 kB          [emitted]  
                 media/icons/wedo_motor-speed_med.svg    4.35 kB          [emitted]  
                media/icons/wedo_motor-speed_slow.svg    4.36 kB          [emitted]  
             media/icons/wedo_when-distance_close.svg    4.75 kB          [emitted]  
              media/icons/wedo_when-tilt-backward.svg    4.91 kB          [emitted]  
               media/icons/wedo_when-tilt-forward.svg    4.93 kB          [emitted]  
                  media/icons/wedo_when-tilt-left.svg    3.65 kB          [emitted]  
                 media/icons/wedo_when-tilt-right.svg    3.66 kB          [emitted]  
                       media/icons/wedo_when-tilt.svg    4.11 kB          [emitted]  
   [0] multi lib 40 bytes {1} [built]
 [300] ./scratch-vm/dist.js 518 kB {0} [built]
 [301] ./scratch-blocks/dist/vertical.js 920 kB {0} [built]
 [343] ./scratch-render/dist.js 823 kB {0} [built]
    + 742 hidden modules

ERROR in   Error: Child compilation failed:
  Entry module not found: Error: Cannot resolve 'file' or 'directory' /home/m93a/Dokumenty/Kittenblock/index.html in /home/m93a/Dokumenty/Kittenblock:
  Error: Cannot resolve 'file' or 'directory' /home/m93a/Dokumenty/Kittenblock/index.html in /home/m93a/Dokumenty/Kittenblock

  - compiler.js:76 
    [Kittenblock]/[html-webpack-plugin]/lib/compiler.js:76:16

  - Compiler.js:214 Compiler.<anonymous>
    [Kittenblock]/[webpack]/lib/Compiler.js:214:10

  - Compiler.js:403 
    [Kittenblock]/[webpack]/lib/Compiler.js:403:12

  - Tapable.js:67 Compiler.next
    [Kittenblock]/[tapable]/lib/Tapable.js:67:11

  - CachePlugin.js:40 Compiler.<anonymous>
    [Kittenblock]/[webpack]/lib/CachePlugin.js:40:4

  - Tapable.js:71 Compiler.applyPluginsAsync
    [Kittenblock]/[tapable]/lib/Tapable.js:71:13

  - Compiler.js:400 Compiler.<anonymous>
    [Kittenblock]/[webpack]/lib/Compiler.js:400:9

  - Compilation.js:577 Compilation.<anonymous>
    [Kittenblock]/[webpack]/lib/Compilation.js:577:13

  - Tapable.js:60 Compilation.applyPluginsAsync
    [Kittenblock]/[tapable]/lib/Tapable.js:60:69

  - Compilation.js:572 Compilation.<anonymous>
    [Kittenblock]/[webpack]/lib/Compilation.js:572:10

  - Tapable.js:60 Compilation.applyPluginsAsync
    [Kittenblock]/[tapable]/lib/Tapable.js:60:69

  - Compilation.js:567 Compilation.<anonymous>
    [Kittenblock]/[webpack]/lib/Compilation.js:567:9

  - Tapable.js:60 Compilation.applyPluginsAsync
    [Kittenblock]/[tapable]/lib/Tapable.js:60:69

  - Compilation.js:563 Compilation.<anonymous>
    [Kittenblock]/[webpack]/lib/Compilation.js:563:8

  - Tapable.js:60 Compilation.applyPluginsAsync
    [Kittenblock]/[tapable]/lib/Tapable.js:60:69

  - Compilation.js:525 Compilation.seal
    [Kittenblock]/[webpack]/lib/Compilation.js:525:7

  - Compiler.js:397 Compiler.<anonymous>
    [Kittenblock]/[webpack]/lib/Compiler.js:397:15

  - Tapable.js:103 
    [Kittenblock]/[tapable]/lib/Tapable.js:103:11

  - Compilation.js:445 Compilation.<anonymous>
    [Kittenblock]/[webpack]/lib/Compilation.js:445:10

  - Compilation.js:344 Compilation.errorAndCallback
    [Kittenblock]/[webpack]/lib/Compilation.js:344:3

  - Compilation.js:358 Compilation.<anonymous>
    [Kittenblock]/[webpack]/lib/Compilation.js:358:11

  - NormalModuleFactory.js:29 onDoneResolving
    [Kittenblock]/[webpack]/lib/NormalModuleFactory.js:29:20

  - NormalModuleFactory.js:85 
    [Kittenblock]/[webpack]/lib/NormalModuleFactory.js:85:20

  - async.js:726 
    [Kittenblock]/[async]/lib/async.js:726:13

  - async.js:52 
    [Kittenblock]/[async]/lib/async.js:52:16

  - async.js:241 done
    [Kittenblock]/[async]/lib/async.js:241:17

  - async.js:44 
    [Kittenblock]/[async]/lib/async.js:44:16

  - async.js:723 
    [Kittenblock]/[async]/lib/async.js:723:17

  - async.js:167 
    [Kittenblock]/[async]/lib/async.js:167:37

  - UnsafeCachePlugin.js:24 
    [Kittenblock]/[enhanced-resolve]/lib/UnsafeCachePlugin.js:24:19

ERROR in ./app/containers/gui.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../../kittenblock-pc in /home/m93a/Dokumenty/Kittenblock/app/containers
 @ ./app/containers/gui.jsx 25:18-49

ERROR in ./app/containers/header-bar.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../../kittenblock-pc in /home/m93a/Dokumenty/Kittenblock/app/containers
 @ ./app/containers/header-bar.jsx 17:18-49

ERROR in ./app/containers/arduino-panel.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../../kittenblock-pc in /home/m93a/Dokumenty/Kittenblock/app/containers
 @ ./app/containers/arduino-panel.jsx 17:18-49

ERROR in ./app/containers/setup-modal.jsx
Module not found: Error: Cannot resolve 'file' or 'directory' ../../kittenblock-pc in /home/m93a/Dokumenty/Kittenblock/app/containers
 @ ./app/containers/setup-modal.jsx 15:18-49
Child html-webpack-plugin for "index.html":

    ERROR in Entry module not found: Error: Cannot resolve 'file' or 'directory' /home/m93a/Dokumenty/Kittenblock/index.html in /home/m93a/Dokumenty/Kittenblock
Done in 15.61s.