ykob / sketch-threejs

Interactive sketches made with three.js.
https://ykob.github.io/sketch-threejs/
MIT License
2.33k stars 303 forks source link

issues trying to build #8

Closed cyrstem closed 4 years ago

cyrstem commented 4 years ago

hey i love to learn how you build all this but when trying to run i got this:

ERROR in ./src/js/sketch/reel/Boxes.js
Module not found: Error: Can't resolve '../../common/Force3' in '/home/jacos/WEBs/sketch-threejs/src/js/sketch/reel'
 @ ./src/js/sketch/reel/Boxes.js 13:13-43
 @ ./src/js/sketch/reel/init.js
 @ ./src/js/main.js

ERROR in ./src/js/sketch/reel/Wire.js
Module not found: Error: Can't resolve '../../common/Force3' in '/home/jacos/WEBs/sketch-threejs/src/js/sketch/reel'
 @ ./src/js/sketch/reel/Wire.js 11:13-43
 @ ./src/js/sketch/reel/Boxes.js
 @ ./src/js/sketch/reel/init.js
 @ ./src/js/main.js

ERROR in ./src/js/smooth_scroll_manager/Hookes.js
Module not found: Error: Can't resolve '../common/Force3' in '/home/jacos/WEBs/sketch-threejs/src/js/smooth_scroll_manager'
 @ ./src/js/smooth_scroll_manager/Hookes.js 7:13-40
 @ ./src/js/smooth_scroll_manager/SmoothScrollManager.js
 @ ./src/js/index/init.js
 @ ./src/js/main.js

ERROR in ./src/js/common/ForcePerspectiveCamera.js
Module not found: Error: Can't resolve './Force3' in '/home/jacos/WEBs/sketch-threejs/src/js/common'
 @ ./src/js/common/ForcePerspectiveCamera.js 21:13-32
 @ ./src/js/sketch/instancing/init.js
 @ ./src/js/main.js

ERROR in ./src/js/sketch/dna/DnaHelix.js
Module not found: Error: Can't resolve './glsl/DnaHelix.fs' in '/home/jacos/WEBs/sketch-threejs/src/js/sketch/dna'
 @ ./src/js/sketch/dna/DnaHelix.js 90:22-51
 @ ./src/js/sketch/dna/init.js
 @ ./src/js/main.js

ERROR in ./src/js/sketch/dna/DnaHelix.js
Module not found: Error: Can't resolve './glsl/DnaHelix.vs' in '/home/jacos/WEBs/sketch-threejs/src/js/sketch/dna'
 @ ./src/js/sketch/dna/DnaHelix.js 89:20-49
 @ ./src/js/sketch/dna/init.js
 @ ./src/js/main.js

ERROR in ./src/js/sketch/crystal/PostEffectBloom.js
Module not found: Error: Can't resolve './glsl/PostEffectBloom.fs' in '/home/jacos/WEBs/sketch-threejs/src/js/sketch/crystal'
 @ ./src/js/sketch/crystal/PostEffectBloom.js 21:0-43 48:22-24
 @ ./src/js/sketch/crystal/WebGLContent.js
 @ ./src/js/sketch/crystal/init.js
 @ ./src/js/main.js

ERROR in ./src/js/sketch/crystal/PostEffectBlur.js
Module not found: Error: Can't resolve './glsl/PostEffectBlur.fs' in '/home/jacos/WEBs/sketch-threejs/src/js/sketch/crystal'
 @ ./src/js/sketch/crystal/PostEffectBlur.js 21:0-42 52:22-24
 @ ./src/js/sketch/crystal/WebGLContent.js
 @ ./src/js/sketch/crystal/init.js
 @ ./src/js/main.js

ERROR in ./src/js/sketch/crystal/PostEffectBright.js
Module not found: Error: Can't resolve './glsl/PostEffectBright.fs' in '/home/jacos/WEBs/sketch-threejs/src/js/sketch/crystal'
 @ ./src/js/sketch/crystal/PostEffectBright.js 21:0-44 48:22-24
 @ ./src/js/sketch/crystal/WebGLContent.js
 @ ./src/js/sketch/crystal/init.js
 @ ./src/js/main.js

can you point me how to fix this or what are the issues

capi1O commented 4 years ago

It is a case sensitive issue, probably author has developed on node on windows which is not case sensitive.

The following files need to be renamed:

cyrstem commented 4 years ago

Thanks!!!! @didrip