Skip to content

JS errors in console | unable to render demos #2

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions