Skip to content

KoGrid Does Not Work with Gulp and JSPM-GitHub #318

@ghost

Description

While building a project with JSPM-GitHub and KoGrid, I receive the following error message:

Error on fetch for github:Knockout-Contrib/[email protected] at file:///C:/Users/*/node_modules/jspm-github/Knockout-Contrib/[email protected]
Loading app/startup.js
Error: ENOENT: no such file or directory, open 'C:\Users*
\node_modules\jspm-github\Knockout-Contrib\[email protected]'

The JSPM config.js file that is being used contains the following:

The relevant portions of the config.js file are:

paths: {
"github:": "node_modules/jspm-github/"
},
map: {
"koGrid": "github:Knockout-Contrib/[email protected]"
}

Then, if I change this file to a packages directory that is part of my application, thus:

map: {
"koGrid": "packages/koGrid/koGrid.js"
}

I get a different error with the CSS file since I am also using SystemJS-Plugin-CSS:

Error on fetch for packages/koGrid/koGrid.js/dist/KoGrid.min.css!nm:systemjs-plugin-css/css.js at file:///C:/Users//packages/koGrid/koGrid.js/dist/KoGrid.min.css!file:///C:/Users//node_modules/systemjs-plugin-css/css.js
Loading app/startup.js
Error: ENOENT: no such file or directory, open 'C:\Users*******\packages\koGrid\koGrid.js\dist\KoGrid.min.css'

Perhaps I'm doing something wrong with this, but perhaps the structure of this repository needs to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions