brandonreid/documentcss_starter-kit

JS errors in console | unable to render demos

Opened this issue · 1 comments

I followed the readme to the letter; installed gulp and documentjs globally.

When running the generated Site, the following errors appear in the console:

static/can-control.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
static/jquery.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
static/can-map.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
steal.production.js:8 Error loading "can-control" at http://localhost:4200/static/can-control.js
Error loading "can-control" from "static" at http://localhost:4200/static/static.js
Not Found: http://localhost:4200/static/can-control.js undefined
(anonymous) @ steal.production.js:8
static/can-util/js/each/each.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
static/stache.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)

The generated site works for the rest, can be navigated via the sidebar, but still no demos are rendered. The output directory structure from the gulp task is as expected:
styleguide
--> /demos/ --> demo files
--> /fonts/ --> readme txt
--> /static/ --> static bundles etc
--> generated files

Any help would be much appreciated.

Thanks.

do i have to set up jquery and canjs myself? how can I configure the template to work around this and use a cdn instead... maybe