intel / webapps-memory-match Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
get warning in console, but app still seems to work :?
After following the instructions and running the following:
sudo npm install -g grunt-cli
sudo npm install -g bower
npm install
grunt server
I received the error message following. The same error also appears in the Javascript console when opening the index.html
file in Chrome.
✔ app/images/lvl2-bg.png (saved 7.79KB)
✔ app/images/window.png (saved 7.72KB)
✔ app/images/opening-lvl3-rollover.png (saved 17.29KB)
Running "requirejs:dist" (requirejs) task
{ Error: ENOENT: no such file or directory, open '/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/appframework/appframework.js'
at Object.openSync (fs.js:451:3)
at Object.readFileSync (fs.js:351:35)
at Object.readFile (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3760:27)
at Object.readFileAsync (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3774:32)
at Function.require._cacheReadAsync (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:29948:25)
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:29506:48
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3063:37
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3011:25
at Function.prim.nextTick (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:29929:9)
at Object.callback (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3010:26)
errno: -2,
syscall: 'open',
code: 'ENOENT',
path:
'/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/appframework/appframework.js',
fileName:
'/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/appframework/appframework.js' }
Error: ENOENT: no such file or directory, open '/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/requirejs-domready/domReady.js'
In module tree:
main
ui
{ Error: Error: ENOENT: no such file or directory, open '/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/requirejs-domready/domReady.js'
In module tree:
main
ui
at Object.openSync (fs.js:451:3)
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:30099:19
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3081:39
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3021:25
at Function.prim.nextTick (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:29929:9)
at Object.errback (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3020:26)
at Object.callback (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3006:23)
at Object.then (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3060:23)
at build (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:30056:12)
at runBuild (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:32006:17)
at Object.execCb (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:1941:33)
originalError:
{ Error: ENOENT: no such file or directory, open '/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/requirejs-domready/domReady.js'
at Object.openSync (fs.js:451:3)
at Object.readFileSync (fs.js:351:35)
at Object.readFile (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3760:27)
at Object.readFileAsync (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3774:32)
at Function.require._cacheReadAsync (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:29948:25)
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:29506:48
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3063:37
at /home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3011:25
at Function.prim.nextTick (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:29929:9)
at Object.callback (/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/node_modules/requirejs/bin/r.js:3010:26)
errno: -2,
syscall: 'open',
code: 'ENOENT',
path:
'/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/requirejs-domready/domReady.js',
fileName:
'/home/notroot/repos/afm-widget-examples/modules/webapps-memory-match/app/lib/requirejs-domready/domReady.js',
moduleTree: [ 'ui', 'main' ] } }
It seems like the page isn't refreshed properly.
at the point the issue happens...ie nothing appears to change visually, but if you run the mouse pointer down the right hand side of the app, it will refresh the buttons.
This adds overhead (ajax load followed by conversion to HTML), means we can't have a nice markdown readme for developers, and mixes app code with developer support tools/docs/code.
Instead, use inline HTML for the in-app readme, with just a link to the site and source code for the app.
This will then allow README.txt to be moved to README.md.
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.