Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8000/lib/router/index.js
Error: Script error for: libPath/router/index
http://requirejs.org/docs/errors.html#scripterror
at makeError (http://localhost:8000/lib/require.js:166:17)
at HTMLScriptElement.context.onScriptError (http://localhost:8000/lib/require.js:1689:36)
at Zone.run (http://localhost:8000/lib/zone.js:87:19)
at HTMLScriptElement.zoneBoundFn (http://localhost:8000/lib/zone.js:64:19) bootstrap.js:54
GET http://localhost:8000/lib/platform.js.map 404 (Not Found)
When I look in the dist folder I notice the following:
lib/router only has a router-directive.js file, not an index.js file, so no wonder I get a 404.
The file lib/platform.js.map is also not present, only the lib/platform.js.
Setup
npm install -g gulp
npm install -g bower
npm install -g protractor
npm install
bower install
Running the Samples
gulp build watch serve
When I look in the
dist
folder I notice the following:lib/router
only has arouter-directive.js
file, not anindex.js
file, so no wonder I get a 404. The filelib/platform.js.map
is also not present, only thelib/platform.js
.Please fix the setup guide. Thanks :)