googlecreativelab / aiexperiments-bird-sounds Goto Github PK
View Code? Open in Web Editor NEWThousands of bird sounds visualized using machine learning.
Home Page: https://aiexperiments.withgoogle.com/bird-sounds
Thousands of bird sounds visualized using machine learning.
Home Page: https://aiexperiments.withgoogle.com/bird-sounds
I've been checking
https://aiexperiments.withgoogle.com/bird-sounds/view/
for several days but it hasn't worked yet. I always see this message (from many computers, always in chrome)
The index.html file - when opened in the browser - appears blank, which in my experience sometimes suggests there is a formatting error in it.
First, I installed node using its installer and webpack from the command line (npm install webpack -g
)
Then, seeing there is a webpack.config.js, I ran webpack
, but I got
ERROR in Entry module not found: Error: Cannot resolve module 'jshint-loader' in /Users/me/projects/aiexperiments-bird-sounds
I looked in webpack.config.js, and it has resolve: { root: __dirname, modulesDirectories : [ "node_modules", "third_party/", "app", "node_modules/tone/" ],
However, there is no node_modules directory in the repo.
Maybe I missed something simple on how to build the project?
Hi,
I am trying to build your project on xubuntu 16.04 and experience some issues with webpack. Perhaps you could offer some advice here?
npm step goes fine, short of three warning that look rather harmless:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] No license field.
The problems start with webpack:
webpack -p
Hash: 5447bbad4b228dce7c4b
Version: webpack 1.14.0
Time: 7829ms
Asset Size Chunks Chunk Names
./build/Main.js 12 kB 0 [emitted] Main
./build/1.js 418 bytes 1 [emitted]
./build/2.js 1.45 MB 2 [emitted]
+ 191 hidden modules
WARNING in ./build/Main.js from UglifyJs
Side effects in initialization of unused variable Config [./~/jshint-loader!./app/core/Config.js:17,0]
Condition always false [./~/style-loader/addStyles.js:24,0]
Dropping unreachable code [./~/style-loader/addStyles.js:25,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 [./~/eventemitter3/index.js:287,0]
Dropping unused variable j [./~/jshint-loader!./app/core/Data.js:25,0]
Dropping unused variable j [./~/jshint-loader!./app/core/Data.js:72,0]
Dropping unused variable k [./~/jshint-loader!./app/core/Data.js:72,0]
Dropping unused variable j [./~/jshint-loader!./app/core/Data.js:83,0]
Dropping unused variable k [./~/jshint-loader!./app/core/Data.js:83,0]
Dropping unused variable j [./~/jshint-loader!./app/core/Data.js:97,0]
Dropping unused variable k [./~/jshint-loader!./app/core/Data.js:97,0]
Dropping unused variable k [./~/jshint-loader!./app/core/Data.js:106,0]
Dropping unused variable tag [./~/jshint-loader!./app/core/Data.js:107,0]
Dropping unused variable tags [./~/jshint-loader!./app/core/Data.js:107,0]
Side effects in initialization of unused variable total [./~/jshint-loader!./app/core/Data.js:108,0]
Dropping unused variable totalTags [./~/jshint-loader!./app/core/Data.js:109,0]
Dropping unused variable k [./~/jshint-loader!./app/core/Data.js:149,0]
Dropping unused variable tag [./~/jshint-loader!./app/core/Data.js:150,0]
Dropping unused variable tags [./~/jshint-loader!./app/core/Data.js:150,0]
Side effects in initialization of unused variable total [./~/jshint-loader!./app/core/Data.js:151,0]
Side effects in initialization of unused variable cssSequencer [./~/jshint-loader!./app/core/Data.js:17,0]
Condition always true [./~/async/lib/async.js:1255,0]
Dropping unreachable code [./~/async/lib/async.js:1262,0]
Condition always true [./~/resource-loader/~/eventemitter3/index.js:309,0]
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]
Condition always true [./~/component-emitter/index.js:6,0]
Side effects in initialization of unused variable cover [./~/jshint-loader!./app/Birds.js:78,0]
Side effects in initialization of unused variable startLink [./~/jshint-loader!./app/Birds.js:81,0]
Side effects in initialization of unused variable isSelectedWord [./~/jshint-loader!./app/core/Filter.js:129,0]
Side effects in initialization of unused variable filterInputWrapper [./~/jshint-loader!./app/core/Filter.js:29,0]
Side effects in initialization of unused variable filterCSS [./~/jshint-loader!./app/core/Filter.js:18,0]
Dropping unused variable scope [./~/jshint-loader!./app/core/Loader.js:25,0]
Side effects in initialization of unused variable Data [./~/jshint-loader!./app/core/Loader.js:18,0]
Side effects in initialization of unused variable loaderCSS [./~/jshint-loader!./app/core/Loader.js:20,0]
Dropping unused variable loadCount [./~/jshint-loader!./app/core/Sound.js:48,0]
Side effects in initialization of unused variable zoomCSS [./~/jshint-loader!./app/core/ZoomControls.js:18,0]
Side effects in initialization of unused variable Data [./~/jshint-loader!./app/grid/Dragger.js:18,0]
Dropping unused variable touchZoomDistancePrev [./~/jshint-loader!./app/grid/Grid.js:381,0]
Dropping unused variable x [./~/jshint-loader!./app/grid/Grid.js:448,0]
Dropping unused variable y [./~/jshint-loader!./app/grid/Grid.js:448,0]
Dropping unused variable isComplete [./~/jshint-loader!./app/grid/Grid.js:514,0]
Side effects in initialization of unused variable scalar [./~/jshint-loader!./app/grid/Grid.js:533,0]
Dropping unused variable textureSquareDarker [./~/jshint-loader!./app/grid/Grid.js:54,0]
Side effects in initialization of unused variable gridCSS [./~/jshint-loader!./app/grid/Grid.js:20,0]
Side effects in initialization of unused variable support [./~/lodash/index.js:932,0]
Condition always true [./~/lodash/index.js:12323,0]
Dropping unreachable code [./~/lodash/index.js:12337,0]
Side effects in initialization of unused variable moduleExports [./~/lodash/index.js:266,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/grid.scss:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/grid.scss:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/grid.scss:7,0]
Dropping unused variable UPDATE_RATE [./~/tone/Tone/core/Clock.js:299,0]
ERROR in ./app/Birds.js
Module not found: Error: Cannot resolve 'file' or 'directory' ./Boilerplate in /home/tracek/Projects/aiexperiments-bird-sounds/app
@ ./app/Birds.js 17:18-42
ERROR in ./app/core/Loader.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../Boilerplate in /home/tracek/Projects/aiexperiments-bird-sounds/app/core
@ ./app/core/Loader.js 17:18-43
There are more such errors.
Any tips?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.