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

Problem with curl configuration for cram.js #10

Open
johanchouquet opened this issue Feb 6, 2014 · 2 comments
Open

Problem with curl configuration for cram.js #10

johanchouquet opened this issue Feb 6, 2014 · 2 comments

Comments

@johanchouquet
Copy link

Hi there,

I tried to follow the directives in the Readme.md file. Unfortunately, cram.js seems to be unable to finish its tasks, because apparently, it got wrong paths in curl config.

It tries to find "hello\app\template.html", whereas it's in "\sample-app\hello\app\template.html".

Here is the output log :

C:\myPath > npm run-script cram

[email protected] cram C:\myPath\cujojs.github.com
cram index.html --include curl/plugin/domReady --include curl/plugin/text --output app/run.cram.js

Parsing index.html for curl configuration
Found data-curl-run: app/run.js
appRoot is inferred to be "."
baseUrl resolved to "C:\myPath\cujojs.github.com/"
output resolved to "C:\myPath\cujojs.github.com/app/run.cram.js"
Compiling preloads
Compiling poly/object
Compiling poly/array
Compiling poly/function
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling poly/lib/_base
Compiling modules
Compiling wire/wire!app/main
Compiling curl/plugin/domReady
Compiling curl/plugin/text
Compiling wire/wire
Compiling wire/dom
Compiling app/hello-sample/spec
Compiling app/contacts-sample/spec
Compiling app/homepage-sample/spec
Compiling curl/plugin/i18n!app/subheader/strings
Compiling app/subheader/selectText
Compiling curl/plugin/css!highlight/github.css
Compiling wire/dom/render
Compiling wire/on
Compiling cola/cola
Compiling hello/app/main
Compiling app/tabs/spec
Compiling cola/Collection
Compiling cola/adapter/Array
Compiling highlight/amd!hello/app/template.html
Compiling highlight/amd!hello/app/controller.js
Compiling highlight/amd!hello/app/strings.js
Compiling highlight/amd!hello/app/main.js
Compiling curl/plugin/text!app/contacts-sample/template.html
Compiling contacts/app/main
Compiling highlight/amd!contacts/app/controller.js
Compiling highlight/amd!contacts/app/list/template.html
Compiling highlight/amd!contacts/app/edit/template.html
Compiling highlight/amd!contacts/app/main.js
Compiling highlight/amd!app/main.js
Compiling highlight/amd!app/subheader/selectText.js
Compiling highlight/amd!test/subheader/selectText-test.js
Compiling hello/app/controller
Compiling curl/plugin/text!hello/app/template.html
Compiling curl/plugin/i18n!hello/app/strings.js
Compiling wire/aop
Compiling app/tabs/controller
Compiling curl/plugin/text!app/tabs/tabs.html
Compiling curl/plugin/css!app/tabs/structure.css
Compiling curl/plugin/text!app/tabs/stack.html
Compiling wire/connect
Compiling contacts/app/collection/spec
Compiling contacts/app/controller
Compiling curl/plugin/text!contacts/app/edit/template.html
Compiling curl/plugin/i18n!contacts/app/edit/strings
Compiling curl/plugin/css!contacts/app/edit/structure.css
Compiling curl/plugin/text!contacts/app/list/template.html
Compiling curl/plugin/css!contacts/app/list/structure.css
Compiling contacts/app/list/compareByLastFirst
Compiling curl/plugin/css!contacts/theme/basic.css
Compiling cola/dom/form
Compiling contacts/app/collection/validateContact
Compiling cola/adapter/LocalStorage
Compiling contacts/app/collection/cleanContact
Compiling contacts/app/collection/generateMetadata
Compiling curl/domReady
Compiling curl/plugin/_fetchText
cram failed: ENOENT, open 'C:\myPath\cujojs.github.com\hello\app\template.html'
Error: ENOENT, open 'C:\myPath\cujojs.github.com\hello\app\template.html'
npm ERR! weird error 1
npm ERR! not ok code 0

Can you help me sort this out ?
Thank you very much.

Johan

@briancavalier
Copy link
Member

Hey @dargoan thanks for the heads up! We just did a little investigation, and it looks like the highlight amd plugin is giving cram some trouble. We don't know the root cause yet, but we should be able to track it down soon.

@johanchouquet
Copy link
Author

Cool, thanks @briancavalier. As you know, I'm very excited to be able to do great things with CujoJS... ! So, it'll help getting started with it.

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

2 participants