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' ] } }