Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Oct 20, 2017 · 0 comments
Open

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

ghost opened this issue Oct 20, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 20, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants