googlecreativelab / aiexperiments-drum-machine

Thousands of everyday sounds, organized using machine learning.
https://aiexperiments.withgoogle.com/drum-machine
Apache License 2.0
738 stars 118 forks source link

ERROR in ./app/Data.js #11

Open saimmehmood opened 6 years ago

saimmehmood commented 6 years ago

The Error portion:

ERROR in ./app/Data.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../meta/drum_like.json in C:\Users\Saim Mehmood\aiexperiments-drum-machine\app
 @ ./app/Data.js 23:15-48

npm install worked fine. I received the error when I ran webpack -p.

C:\Users\Saim Mehmood\aiexperiments-drum-machine>webpack -p
Hash: b7abbdf84c83e2ca91c4
Version: webpack 1.15.0
Time: 39538ms
          Asset       Size  Chunks             Chunk Names
./build/Main.js    10.7 kB       0  [emitted]  Main
   ./build/1.js  418 bytes       1  [emitted]
   ./build/2.js     662 kB       2  [emitted]
    + 72 hidden modules

WARNING in ./build/Main.js from UglifyJs
Condition always false [./~/style-loader/addStyles.js:24,0]
Dropping unreachable code [./~/style-loader/addStyles.js:25,0]
Side effects in initialization of unused variable Config [./~/jshint-loader!./app/Config.js:17,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/main.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/main.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/main.scss:7,0]

WARNING in ./build/1.js from UglifyJs
Condition always true [./~/domready/ready.js:6,0]
Dropping unreachable code [./~/domready/ready.js:7,0]

WARNING in ./build/2.js from UglifyJs
Condition always true [./~/three/three.js:11,0]
Dropping unreachable code [./~/three/three.js:15,1]
Side effects in initialization of unused variable vector [./~/three/three.js:11886,0]
Side effects in initialization of unused variable start [./~/three/three.js:13187,0]
Side effects in initialization of unused variable mixer [./~/three/three.js:13255,0]
Side effects in initialization of unused variable nObjects [./~/three/three.js:14379,0]
Side effects in initialization of unused variable inversePointLength [./~/three/three.js:37188,0]
Condition always true [./~/three/three.js:40674,0]
Dropping unreachable code [./~/three/three.js:40680,0]
Dropping unused variable self [./~/three/three.js:1,0]
Condition always true [./~/Tween.js/src/Tween.js:863,0]
Dropping unreachable code [./~/Tween.js/src/Tween.js:870,2]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/loader.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/loader.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/loader.scss:7,0]
Side effects in initialization of unused variable cover [./~/jshint-loader!./app/Drums.js:157,0]
Dropping unused variable randomizeTrack [./~/jshint-loader!./app/Drums.js:420,0]
Dropping unused variable scope [./~/jshint-loader!./app/seq/Track.js:23,0]
Dropping unused variable lineLength [./~/jshint-loader!./app/viz/Label.js:77,0]
Dropping unused variable offset [./~/jshint-loader!./app/viz/Label.js:78,0]
Dropping unused variable scope [./~/jshint-loader!./app/viz/PointCloud.js:21,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/filter.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/filter.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/filter.scss:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/label.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/label.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/label.scss:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/nav.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/nav.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/nav.scss:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/overlay.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/overlay.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/overlay.scss:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/sequencer.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/sequencer.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/sequencer.scss:7,0]
Dropping unused variable UPDATE_RATE [./~/tone/Tone/core/Clock.js:299,0]
Dropping unreachable code [./~/tone/Tone/event/Loop.js:219,0] 
saimmehmood commented 6 years ago
C:\Users\Saim Mehmood\aiexperiments-drum-machine>webpack --display-error-details
Hash: 61e550dd781343ae1305
Version: webpack 1.15.0
Time: 68462ms
          Asset       Size  Chunks             Chunk Names
./build/Main.js    24.2 kB       0  [emitted]  Main
   ./build/1.js  904 bytes       1  [emitted]
   ./build/2.js    1.45 MB       2  [emitted]
    + 72 hidden modules

ERROR in ./app/Data.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../meta/drum_like.json in C:\Users\Saim Mehmood\aiexperiments-drum-machine\app
resolve file
  C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json doesn't exist
  C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.webpack.js doesn't exist
  C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.web.js doesn't exist
  C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.js doesn't exist
  C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.json doesn't exist
resolve directory
  C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json doesn't exist (directory default file)
  C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json\package.json doesn't exist (directory description file)
[C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json]
[C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.webpack.js]
[C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.web.js]
[C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.js]
[C:\Users\Saim Mehmood\aiexperiments-drum-machine\meta\drum_like.json.json]
 @ ./app/Data.js 23:15-48