Comments (9)
Issue solved by using Safari. Thanks for the help! =]
from aiexperiments-ai-duet.
It seems like maybe you didn't build the static js files. Follow the instructions at the bottom of the installation instructions section to build the static files with webpack:
cd static
npm install
webpack -p
Are you getting an error at this part?
from aiexperiments-ai-duet.
Nope, the error is when I go to the website, and my terminal is automatically filled by those 404 error, etc. When I ran the instructions you just posted, I get
npm install webpack -p
/Users/neiljelmert/aiexperiments-ai-duet/static/node_modules/webpack
npm WARN [email protected] No description
npm WARN [email protected] No license field.
from aiexperiments-ai-duet.
make sure you're first running npm install
, then hit enter, and then run webpack -p
. From your snippet, it looks like you've got it all on one line.
from aiexperiments-ai-duet.
After npm install
I get
npm WARN [email protected] No description
npm WARN [email protected] No license field.
After webpack -p
I now get
Hash: c40174bfeb734d05c873
Version: webpack 1.14.0
Time: 23ms
ERROR in Entry module not found: Error: Cannot resolve module 'app/Main' in /Users/neiljelmert/aiexperiments-ai-duet/static
from aiexperiments-ai-duet.
Strange, it seems like you might have an older version of the code. There is no 'app/Main' that's been renamed to 'src/Main'. Make sure you pull the latest code from github.
from aiexperiments-ai-duet.
Alright, I did a clean pull/install and had no issues with webpack, etc. Also, I see 'Main': 'src/Features'
in the webpack.config.js
, so no more app/Main
issue. Now I have this issue:
/server$ python server.py
* Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)
127.0.0.1 - - [28/Feb/2017 20:43:20] "GET / HTTP/1.1" 200 -
which seems like it should be working, but going to the browser (Chrome) yields a blank white page.
In addition, a refresh of the page pings the terminal:
127.0.0.1 - - [28/Feb/2017 20:48:05] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Feb/2017 20:48:06] "GET /images/AIDuet_196.png HTTP/1.1" 200 -
but still blank.
I don't know if this well help, but here is my result of webpack -p
in /static
:
/static$ webpack -p
Hash: 3610439d6efd3ea33f29
Version: webpack 1.14.0
Time: 29278ms
Asset Size Chunks Chunk Names
./build/0.js 840 kB 0 [emitted]
./build/Main.js 78.5 kB 1 [emitted] Main
+ 393 hidden modules
WARNING in ./build/0.js from UglifyJs
Dropping unused variable frustumSize [./src/roll/Roll.js:108,8]
Side effects in initialization of unused variable aspect [./src/roll/Roll.js:109,8]
Dropping unused function scale [./src/roll/Roll.js:25,9]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/notsupported.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/notsupported.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/notsupported.css:7,0]
Condition always true [./~/three/build/three.js:2,0]
Dropping unused variable edges [./~/three/build/three.js:17399,0]
Side effects in initialization of unused variable Tutorial [./src/ai/Tutorial.js:60,13]
Side effects in initialization of unused variable About [./src/interface/About.js:33,13]
Side effects in initialization of unused variable Note [./src/keyboard/Note.js:19,13]
Side effects in initialization of unused variable RollNote [./src/roll/RollNote.js:24,13]
Condition always true [/source/AudioKeys.js:15,0]
Condition always true [./~/buckets-js/dist/buckets.min.js:2,15]
Condition always true [./~/midiconvert/build/MidiConvert.js:1,15]
Condition always true [./~/pepjs/dist/pep.js:7,0]
Condition always true [./~/startaudiocontext/StartAudioContext.js:8,0]
Dropping unreachable code [./~/startaudiocontext/StartAudioContext.js:10,3]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/about.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/about.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/about.css:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/glow.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/glow.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/glow.css:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/keyboard.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/keyboard.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/keyboard.css:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/tutorial.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/tutorial.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/tutorial.css:7,0]
Condition always true [./~/webmidi/webmidi.min.js:31,895]
WARNING in ./build/Main.js from UglifyJs
Side effects in initialization of unused variable main [./src/FeatureTest.js:28,9]
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/splash.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/splash.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/splash.css:7,0]
Condition always true [./~/domready/ready.js:6,0]
Dropping unreachable code [./~/domready/ready.js:7,0]
Condition always false [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/main.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/main.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/autoprefixer-loader!./~/sass-loader!./style/main.css:7,0]
from aiexperiments-ai-duet.
I find this issue helpfull, but its not visible from github issue page. I had to find it via neiljelmert activity... strange.
from aiexperiments-ai-duet.
I also find the same issue . And still have no solution for that .
127.0.0.1 - - [28/Apr/2017 12:18:29] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2017 12:18:29] "GET /build/Main.js HTTP/1.1" 404 -
127.0.0.1 - - [28/Apr/2017 12:18:30] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [28/Apr/2017 12:18:35] "GET /images/AIDuet_196.png HTTP/1.1" 200 -
from aiexperiments-ai-duet.
Related Issues (20)
- Uncaught (in promise) 500 on live demo page HOT 3
- Change audio instruments HOT 2
- Training
- Is there a way I can use acoustic audio input? HOT 1
- Multiple notes playing HOT 2
- not running on 3 different pc HOT 3
- Getting Uncaught typerror HOT 1
- error when building docker HOT 1
- [bug] - tensorflow/magenta-demos - AI piano doesn't work OOB (tmm2018) HOT 7
- Is there any way to get the output of response note played by the algorithm?
- front end code
- Docker Installation-Routine fails - version issue Matplotlib HOT 2
- Fails on 18.04
- Python 2 isn't supported by TensorFlow HOT 1
- OSC Integration
- 鋼琴琴鍵感應
- Changes got overwritten after merge and therefore doesn't work again HOT 3
- Getting some help with setup HOT 9
- Syntax Error print time.time() - now HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiexperiments-ai-duet.