KoGrid icon indicating copy to clipboard operation
KoGrid copied to clipboard

KoGrid Does Not Work with Gulp and JSPM-GitHub

Open ghost opened this issue 8 years ago • 0 comments

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.

ghost avatar Oct 20 '17 16:10 ghost